w00t
91e46e2371
- Comment on the ifdef in here, to avoid people (like myself) going 'what the fuck'.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7081 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-20 22:53:57 +00:00
w00t
6e0080730c
- *slap Om with some unpronouncable fish* - you forgot the />
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7080 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-20 22:40:36 +00:00
brain
ce92c4d35c
Coding style tidyup. PLEASE don't let vs assrape this again.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7079 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-20 21:56:10 +00:00
brain
acce38fa84
Crash on restart in win32 fixed.
...
This means that the restart button in the gui, and /restart, both work now.
Note, there are other bugs with the gui's restart button, the 'auto restart on crash' tries to boot the ircd! Dont use it! :P
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7075 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-20 20:27:45 +00:00
om
af7ccb9691
Same change for VC71. This is a manual edit of the file as I don't have an old VC++ to try it with..
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7071 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-20 15:13:46 +00:00
om
9772f89b93
Quote the commanline to run configure.exe so it works with pathnames with spaces.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7070 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-20 15:10:44 +00:00
brain
5742a950ca
We will get this right eventually
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7069 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-20 14:13:14 +00:00
brain
1b38828157
Also wrong
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7068 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-20 14:12:09 +00:00
brain
51d26a574e
Wrong wrong wrong.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7067 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-20 14:11:23 +00:00
brain
81c9291f4e
Throw bad alloc on out of memory, not return null, this is the correct behaviour according to the C++ standards
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7066 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-20 14:08:20 +00:00
brain
d4e61c1552
try...catch around the map::insert in AddFd, for some reason it throws sometimes. If it does, we return false, which the core can handle neatly as 'failed to add fd'
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7065 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-20 14:05:48 +00:00
brain
30a17a7034
Remove asserts and convert to unix line endings
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7064 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-20 13:58:30 +00:00
w00t
6ab38d48ca
- Modify ServerConfig::GetFullProgDir to just return cwd, previously it did a lot of voodoo that was a little hard to grasp, probably didn't quite accomplish what it should have, and broke on windows.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7063 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-20 12:54:57 +00:00
brain
c3913b1f2f
Windows path seperator is \, this was assuming /. Fixed.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7062 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-20 12:38:23 +00:00
w00t
9caa0763a3
- Fix a small warning thrown by cl about unused local.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7061 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-20 12:15:28 +00:00
brain
66e3a30ab1
Merge in burlex's easy-build patch, apparently its now single-click and wait.
...
Will play with this tomorrow.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7060 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-20 05:16:23 +00:00
brain
0985cef77b
Prevent vc8 from thinking we're dereferencing an end iterator
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7059 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-20 05:00:03 +00:00
brain
9f5c15c806
Change the define that defines strcasecmp->stricmp to use _stricmp to suppress an anal warning
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7058 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-20 04:14:18 +00:00
brain
de57b89e96
Update from burlex, thanks
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7057 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-20 03:51:26 +00:00
brain
68213cd3e7
Begone shitty safe stl warnings!
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7056 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-20 03:49:00 +00:00
brain
c537fcb35e
Send CHANMODES= and PREFIX= in CAPAB CAPABILITIES.
...
Sorry, if you encounter a server < 1.1.8, youll have to guess by module name.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7055 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-20 00:38:29 +00:00
brain
2e484d2db3
Guh. 1am Brain is weak brain.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7054 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-20 00:17:41 +00:00
w00t
aab610a582
- These two need to be generated by configure.exe (someone smack me if I'm wrong here :P)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7053 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-20 00:09:41 +00:00
brain
b9f0cc9a83
Patch for vc8 project files by burlex, thanks
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7052 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-20 00:05:07 +00:00
brain
32d9979d48
Fix (tested) for failing dlsym on win32
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7051 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-19 22:28:11 +00:00
brain
4874c63f73
Fix std::sort stuff for w00t
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7050 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-19 18:32:23 +00:00
brain
d7324a55fa
Space indents must die.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7049 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-19 18:08:57 +00:00
brain
206e3b49c7
SPACE INDENTING ACTION RANGERS -- ATTACK!
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7048 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-19 17:36:26 +00:00
brain
badadc427a
Visual studio's ability to translate tabs to four spaces as default frustrates and peplexes tabnazi cat.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7047 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-19 17:22:43 +00:00
brain
315b9f6fd9
I forgot to install cmd_reloadmodule.so, therefore the command wont work
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7046 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-19 17:01:21 +00:00
w00t
c6208081a5
And remove a whole heap of .orig shit I just managed to commit.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7045 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-19 16:02:42 +00:00
w00t
c778d1258a
Helps if I add the w32 specific code, too. :p
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7044 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-19 16:01:06 +00:00
w00t
9cf56d917d
Windows support. Tested and working to compile on freebsd and linux. Next step is to make sure it actually works in windows too. ;p. Add Burlex to contributors.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7043 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-19 15:56:42 +00:00
special
3bbb366953
Fixed a fairly low-risk crash in m_spanningtree
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7042 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-18 20:54:49 +00:00
special
3c27d02870
m_censor can now block lines as well, by specifying an empty replace string (QA, test please, my dev server seems to be broken :P)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7041 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-18 03:39:18 +00:00
brain
37d40095cf
Fix broken return statements preventing blockchat and blocked files to be used individually.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7040 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-17 17:29:29 +00:00
brain
91eebe370c
Change the way i/o lines are formatted in debug log to make them more intuitive. Now includes a C or S to say if its client or server, plus the fd:
...
Thu May 17 17:56:16 2007: C[15] -> :Brain MODE #test
Thu May 17 17:56:17 2007: C[15] -> :Brain WHO #test
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7039 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-17 16:54:33 +00:00
brain
98b4acdb3f
Add a progress meter for loading of core commands, fix broken implementation for <disabled commands> with a module command, as discovered by Casey in bug #293
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7038 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-16 21:41:48 +00:00
brain
c73a9b10aa
This is funny, in m_md5 we have an ancient comment from w00t that i forgot to remove that says "maybe this md5 stuff would be better in a dedicated md5 module". LOL.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7037 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-16 21:15:04 +00:00
brain
f7464bb042
We announce a ping timeout THREE different times and ways on the server that sent the ping. this is excessive.
...
Remove the announcement in DoPingChecks.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7036 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-16 21:09:04 +00:00
brain
6da93831b4
And fix another booboo
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7035 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-16 21:03:45 +00:00
brain
b7dd7d244b
Add a notice on connection close stating server link uptime, and fix a bug in m_opermodes which meant that its modes werent being replicated across servers (it was sending a totally malformed MODE
...
command with the nick in twice, and has been doing this presumably since early 1.1's)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7034 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-16 21:02:39 +00:00
w00t
1635c37dad
Tidy logic a little in here, and support <options:exemptchanops>
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7033 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-16 10:47:45 +00:00
w00t
d14fbe03f2
Update example docs for <options:exemptchanops> to be off by default, and to support SfgNc channel modes.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7032 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-16 10:47:20 +00:00
w00t
9bc8b26024
Opers are not exempt from other modes, don't exempt them from +N (we may add this back post 1.1.8 as a config setting)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7031 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-16 10:42:46 +00:00
w00t
0723114557
While rolling our own IS_LOCAL check with irc::string comparison is clever (TM), it does seem a little redundant :p
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7030 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-16 10:28:38 +00:00
w00t
5dbf63c2a3
Rather largeish change to class checking on connect to fix a few minor bits and bobs here and there
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7029 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-15 16:40:37 +00:00
brain
af2b10e82c
Add cmd_reloadmodule.{h,cpp} contributed by Eric at neowin.net, thanks :)
...
Someone forgot to increase the release years of all the headers in include/commands
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7028 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-15 16:11:12 +00:00
w00t
f2c8840437
Slight security fix of sorts
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7027 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-15 14:29:03 +00:00
brain
4c25d5ecbb
More tweaks from Eric, when an oper is invisible, attempting to /notice or /privmsg them returns 'no such nick' :)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7026 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-14 23:34:46 +00:00