brain
c2993f666f
Sexeger!
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7241 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-05 17:39:36 +00:00
brain
d2717df5ef
InspIRCd: Now with even MORE leet.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7240 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-05 17:25:41 +00:00
brain
adf372651c
Comments here, too
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7239 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-05 16:52:24 +00:00
brain
4381bb63f5
Add comment to what the table here is for
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7238 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-05 16:50:23 +00:00
brain
d396355d3e
Refactored InspIRCd::Duration(). The leetcode now lives!
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7237 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-05 16:49:06 +00:00
brain
1b93cf63e3
Configure ldlibs patch by djGrrr
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7236 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-05 16:10:28 +00:00
brain
78f98065d5
Stdint being included when we dont even use it, without checking HAS_STDINT, thanks djGrrr
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7235 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-05 16:08:44 +00:00
peavey
234c7cd851
Fix typos found by Zaba. Thanks.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7234 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-05 07:49:33 +00:00
peavey
7cbbb97f42
If the whowas maps really do fail, log it as default and not debug.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7233 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-05 07:31:26 +00:00
brain
ef048989f8
Add options:moronbanner. Yes really, thats what its called. See the example config.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7232 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-04 19:10:25 +00:00
brain
ae26712ee7
Fix windows issue locating some files relative to the conf dir (namely motd, rules, quotes), See: http://www.inspircd.org/forum/showthread.php?t=989&page=2
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7231 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-04 18:39:22 +00:00
brain
75f82deb87
Excess flood tidyups
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7230 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-04 17:31:31 +00:00
brain
01a726e7a3
The recvq > netbuffersize check isnt needed *at all* as we check recvq > recvqmax in userrec::AddBuffer called just above it.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7229 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-04 16:44:58 +00:00
peavey
59d126a3a7
Make nt the default channelmode if <options:defaultmodes> is not present.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7228 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-03 19:54:56 +00:00
peavey
f8e16764b7
Update example conf for recent changes to module m_hostchange.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7227 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-03 16:50:48 +00:00
peavey
b54eb58a49
Many changes: Implement Muisje's idea for prefix + separator on action addnick. Switch to empty() checks on strings. Cleanup mem on module unload. Tidyup conf reading.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7226 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-03 16:15:43 +00:00
om
461839e0f9
Probably fix 2nd compile issue on RH7 and add some checks which *should* ensure none of this can break anything else
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7223 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-03 10:42:08 +00:00
om
afc03e1287
And a minor cleanup of the /stats z code. Nothing spectacular..
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7222 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-03 09:44:21 +00:00
om
8f9c862b01
Possible fix for compile issue on some distributions. Then again there was probably a reason we weren't doing this before...
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7221 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-03 09:27:38 +00:00
brain
3c19bd7b66
Back out the tweaks i made here, keep only the clear screen stuff
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7218 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-02 23:44:56 +00:00
brain
6cf3fc6b36
Change the behaviour of insp in windows to keep its window open, with some status text in the title bar. It also clears the screen now on startup, see the wrapper for what a nasty amount of code it is to do such a simple thing to a windows console :(
...
Also, add somewhat of a hack to cut down on allocation time taken to map windows fd to a posix style fd in iocp engine.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7217 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-02 22:21:55 +00:00
brain
433837b847
Add console mode patches from burlex, thanks
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7216 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-02 20:21:15 +00:00
brain
27d5e0aa06
Change configure to generate .mak files with warning level 2.
...
Change project files to warning level 2.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7215 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-02 18:42:22 +00:00
brain
0d5473ee3a
And make it compile.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7214 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-02 16:12:03 +00:00
brain
1badc2dd1f
Chdir to bin dir on starting, allows relative paths to the bin dir to always work even when we're not started from our dir
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7213 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-02 16:11:34 +00:00
brain
72948525ec
Add comments
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7212 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-02 15:05:49 +00:00
brain
115c025e67
The code to work out the path seems to work fine now on freebsd and linux, still to test on win
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7211 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-02 14:38:45 +00:00
brain
0c73dcfdb1
Debug to troubleshoot why this writes the log to the current dir in bsd, not the bin dir where it should
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7210 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-02 13:45:39 +00:00
brain
920f61414e
Specific windows code for getting the full path to the exe
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7209 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-02 13:42:55 +00:00
peavey
eb334f8c69
and a little tweak to remote MOTD too.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7208 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-02 01:58:41 +00:00
peavey
73bd4d4240
same for admin, and fix some returns.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7207 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-02 01:50:27 +00:00
peavey
e6ce64246b
Fix for bug #297 . /MODULES now correctly finds remote server on wildcard. Marked for QA.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7206 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-02 01:32:59 +00:00
peavey
858ea80c87
re-apply ipv6 ifdef tidyup that got pulled in last revert.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7205 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-01 23:00:18 +00:00
peavey
8d7b4f5ead
revert multiaccept for now until we can fix it for win.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7204 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-01 22:50:17 +00:00
peavey
e430e58c2e
WIN: As promised when I took it out, whowas stats in /STATS z is now working due to fix in r7201.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7203 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-01 22:34:16 +00:00
brain
3198b0ba77
Fix re-generation of 005 on rehash
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7202 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-01 21:43:41 +00:00
peavey
77f2c9bb24
Make valgrind happy and not leak mem.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7201 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-01 20:31:29 +00:00
w00t
c34dd1e50f
No fucking point at all checking for CC_DENY twice. \o/.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7200 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-01 18:53:01 +00:00
brain
993cff8f39
We can make one saving in userrec::WriteWallOps though - we are checking IS_LOCAL inside the loop, we've had a seprate local only user list for god knows how long, we know the users in it are local.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7199 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-01 18:49:01 +00:00
brain
b117a1ec84
This is a better fix, as it calls the mode handler giving the modules etc chance to allocate structs
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7198 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-01 16:55:00 +00:00
brain
46121d8880
Fix bug found by indigophone where +lk cant be set in defaultmodes
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7197 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-01 16:42:59 +00:00
w00t
d868f0bfb0
Fix USERHOST, thanks click and HiroP
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7196 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-01 14:39:15 +00:00
brain
7da093a348
Detect BRAINDEAD WINDOWS EDITORS THAT DEFAULT TO SAVING AS UTF-16! When we find out which editor did this, we'll use our retractable baton to teach it the true meaning of portable data.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7195 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-31 20:12:05 +00:00
brain
89738d69bb
And remove soem debug
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7193 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-31 17:43:41 +00:00
brain
7f0de14650
Fix for issue discovered by satmd where it is possible to send an empty string via privmsg or notice to a user target, against the RFC standard. Remote servers don't like this much.
...
Also fix: NOTICE generates OnUserNotice event, but checks against the I_OnUserMessage hook.
Also also fix (!): Missing colons in "no text to send" message.
BOTH of these also fixes have been around since like, 1.0 alpha 1, and nobody's noticed them!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7192 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-31 17:43:23 +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
2779810ff0
Apply ipv6 #ifdef tidyup patch from djGrrr, thanks :)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7190 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-30 17:37:13 +00:00
w00t
c9235e50f4
Fix bug #309 reported by Smartys - QA, please test quickly. Seems okay to me.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7189 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-29 21:51:34 +00:00
w00t
cd6723e20f
Add m_check to example configuration, thanks Potter
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7188 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-29 20:44:01 +00:00
w00t
21e3ab02ef
Remove m_conn_lusers from the example conf, fixes bug 308, thanks Smartys
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7187 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-29 20:39:04 +00:00