brain
644c5992ca
Proper fix for end-of-list numerics on restricted lists in bug #386 , rather than a hackish nonmodular one.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7838 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-26 21:01:04 +00:00
brain
d2d060d769
Test
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7486 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-21 15:52:51 +00:00
brain
b2f7888b7a
Ive tidied up the mode count stuff, but i still cant duplicate negative invisible counts. :(
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7474 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-18 18:03:21 +00:00
peavey
f2acdbc382
OOPS! We try again, since I'm smoking craq. LF is 0x0a NOT CR.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7456 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-16 17:30:04 +00:00
peavey
bab14f0dd2
'svn propset -R svn:eol-style CR *' Set to UNIX-style always. Binaries are auto skipped by svn.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7454 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-16 17:14:45 +00:00
brain
6d2fc8eac0
Fix bug #310 reported by Smartys, and optimize mode.cpp a bit (was using string comparison to identify an empty string, e.g. somestr == "", when we can use the much faster somestr.empty())
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7191 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-30 19:41:48 +00:00
brain
bd818bec49
Change for reverse output of lists, most recent first, for bug #307 . Also fix(Oms) annoying(Cuddled(Ifs()))
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7160 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-27 11:28:18 +00:00
brain
5475b0d469
All non-commands part of the core are now warning clean on vs8
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7096 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-21 18:31:38 +00:00
brain
ce533b67e6
Small api change with wide reaching effects in modules - Allows modification of whats displayed by NAMES on a per-nick basis, so we can have UHNAMES in a seperate module to NAMESX (and possibly do some funky other stuff in the future too!)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6934 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-10 00:26:04 +00:00
brain
b844d1cbbe
Remove some debug
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6546 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-07 21:58:22 +00:00
w00t
3102dedbb8
New patch from BuildSmart for OS X support, not broken like the last one
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6473 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-01 12:14:54 +00:00
brain
02ccf82812
Fix desync with halfop and voice when opped (this happens because we were ORing the wrong value in chanrec::ForceChan)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6232 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-06 16:15:35 +00:00
brain
dd295f72ee
Fix my whoopsies
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6165 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-29 23:38:48 +00:00
brain
5e9a6b9186
Add counter system for umodes to get rid of some O(n)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6163 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-29 23:34:47 +00:00
w00t
a7cbd51d45
Still more massive commit fun. Headers in include/ still to be done, else that's it.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5997 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-15 22:03:27 +00:00
brain
2bbe76b198
Make it neater
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5207 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-10 18:24:09 +00:00
brain
c5077c1c90
Dont allow keys of length >= 32
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5206 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-10 18:23:09 +00:00
brain
f588391d5f
Changes to m_override
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5177 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-09 00:34:34 +00:00
brain
70b19fe6c1
Comments
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5113 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-02 17:41:36 +00:00
brain
26e4582c2e
Actually make +ovhk removable with DelMode (just in case somebody wants to, or we have need to in the future)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5112 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-02 17:40:33 +00:00
brain
d54fd9b1e6
Wahhhhhhhhhhhh bwahahaha. Mass commit to tidy up tons of messy include lists
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5080 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-30 09:03:03 +00:00
brain
0213e5c910
FDSFDSACFasfcas
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5072 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-29 19:47:38 +00:00
brain
74d221e54a
Fix typos
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5071 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-29 19:47:19 +00:00
brain
aafa9ef323
More snomask +o (unoper)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5070 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-29 19:46:48 +00:00
brain
c0f8576bbd
auto-set +s when +n is set (as +n requires +s) - allow +n to be 'set twice' allowing for snomask change without removal of +ns
...
Add default snomask chars
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5063 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-29 19:12:05 +00:00
brain
b9e99da4da
Snomask support cometh! and it leave a sticky white mess all over the floor :(
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5062 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-29 18:26:55 +00:00
brain
a93e436b03
Add <options:cyclehosts> which allows a user to appear to have quit when their host changes, so that clients/bots can stay synched properly.
...
It is recommended this option always be on.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5017 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-25 13:42:19 +00:00
brain
8b864c8a82
Mode handlers handling listmodes where a listmode item is a nickname can now specify prefixes!!!!!!
...
This isnt documented yet.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4997 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-23 20:20:41 +00:00
brain
812dcf79f6
More tweaks
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4981 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-19 00:20:54 +00:00
brain
451cdd0f9e
Fixed makefile
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4980 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-19 00:18:12 +00:00
brain
c87cfcdb79
Changed modes/ makefile (not yet tested)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4979 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-19 00:14:18 +00:00
brain
d7b24990ec
stskeeps trying to get his name all over our commit log :p (thanks for the bugreport)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4960 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-18 16:59:46 +00:00
brain
592f23e705
Dont allow an empty key (thanks stskeeps)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4957 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-18 16:51:20 +00:00
brain
6050df73f4
Just to mess with om's head, remove helperfuncs.h from everywhere
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4900 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11 23:31:13 +00:00
brain
cfb2c2fff4
CamelCaseRocksSoMuchICamelCasedAllTheMethodsOfClassInspIRCdSoThatItAllLooksNeat.
...
NowSomebodyHasToSpendHoursDocumentingAllOfThisIWonderWhoThatWillEndUpBeing...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4889 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11 16:14:44 +00:00
brain
7775a195d9
Move remaining functions:
...
operstrcmp* commands.cpp InspIRCd::operstrcmp()
duration* commands.cpp InspIRCd::duration()
host_matches_everyone* commands.cpp InspIRCd::host_matches_everyone()
ip_matches_everyone* commands.cpp InspIRCd::ip_matches_everyone()
nick_matches_everyone* commands.cpp InspIRCd::nick_matches_everyone()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4888 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11 15:14:39 +00:00
brain
e84bf9f3ec
Change to using Instance->Log (InspIRCd::Log) rather than log() macro
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4880 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11 12:26:07 +00:00
brain
76ebc88ccd
extern time_t TIME -> InspIRCd::Time()
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4873 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11 09:23:46 +00:00
brain
f9636a2eff
So much stuff changed in this one, i forgot most of it.
...
Oh yeah, main thing is ModeHandler and ModeWatcher classes now take an InspIRCd* to their constructor
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4858 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-10 22:40:57 +00:00
brain
fd2eb26472
Move IsNick, IsIdent into class InspIRCd, update modules that use it.
...
Change message.h to just a #warning saying its deprecated, and remove all use of it from the core :)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4847 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-10 18:04:19 +00:00
brain
dafc021be4
cmode(), cflags(), cstatus() -> chanrec::GetStatusChar(), chanrec::GetStatusFlags(), chanrec::GetStatus()
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4837 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-10 15:44:03 +00:00
brain
396c9ef9f7
FindNick, FindChan, ChanModes, UserList, CountInvisible, PurgeEmptyChannels, GetClass, WriteOpers, GetServerDescription -> into classes
...
ServerConfig takes InspIRCd pointer in its constructor
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4832 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-10 14:43:29 +00:00
brain
09afa50856
ServerConfig extern moved into class InspIRCd
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4808 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-09 11:33:10 +00:00
brain
fea1a27cb9
WHEEEEE!!!!!
...
All of: Write(), WriteTo(), WriteFrom(), WriteServ() are now methods of userrec.
Write_NoFormat(), WriteTo_NoFormat(), WriteFrom_NoFormat(), WriteServ_NoFormat() are now std::string-taking overloaded methods of the functions above
All modules updated to use new syntax, my fingers hurt :(
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4798 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-08 18:59:13 +00:00
brain
8d99003c22
AddOper() and DeleteOper() -> userrec::Oper() and userrec::UnOper() (these do more, too)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4792 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-08 15:05:49 +00:00
brain
3719db12e6
Extra debug all over the place, which maybe we should keep
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4767 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-07 13:33:34 +00:00
brain
a1f073f66f
Change std::pair<bool,std::string> to neater typedef "ModePair"
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4557 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-27 19:40:47 +00:00
brain
98a92e20f1
Mode merging during FJOIN with ourts==theirts. Only +k and +l have CheckTimestamp methods atm, needs to be finished by me and TIDIED.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4556 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-27 17:59:20 +00:00
brain
354cf04012
Fix the remote +k-k stuff
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4554 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-27 11:56:08 +00:00
brain
d0b88e6178
Allow freaky stuff with +k when coming from a server or remote user (allow +k when already a +k, or -k without correct key)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4553 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-27 11:44:11 +00:00