]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
17 years agoStop valgrind whining about uninitialized array, all we do is pass it as a buffer...
brain [Fri, 8 Sep 2006 19:29:17 +0000 (19:29 +0000)]
Stop valgrind whining about uninitialized array, all we do is pass it as a buffer, but it whines anyway so we do = {0} on it :p

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5174 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix small memory leak if non-cidr string passed to MatchCIDR
brain [Fri, 8 Sep 2006 19:27:57 +0000 (19:27 +0000)]
Fix small memory leak if non-cidr string passed to MatchCIDR

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5173 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix for uninitialized var in valgrind output
brain [Fri, 8 Sep 2006 19:22:59 +0000 (19:22 +0000)]
Fix for uninitialized var in valgrind output

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5172 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoSensible failure messages for cmd_qline
brain [Fri, 8 Sep 2006 16:37:28 +0000 (16:37 +0000)]
Sensible failure messages for cmd_qline

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5171 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoMove spynames attempt notice into success area
brain [Fri, 8 Sep 2006 16:20:58 +0000 (16:20 +0000)]
Move spynames attempt notice into success area

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5170 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAnd fix it to compile :p
brain [Fri, 8 Sep 2006 16:04:02 +0000 (16:04 +0000)]
And fix it to compile :p

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5169 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoTidy up setidle message sent to opers, to show the actual idle time set if the oper...
brain [Fri, 8 Sep 2006 16:03:18 +0000 (16:03 +0000)]
Tidy up setidle message sent to opers, to show the actual idle time set if the oper specifies a bunch of crap as a number

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5168 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoMade SANICK not collide the user (theres no need to in the new 1.1 now we have return...
brain [Fri, 8 Sep 2006 16:01:36 +0000 (16:01 +0000)]
Made SANICK not collide the user (theres no need to in the new 1.1 now we have return values- there USED TO BE a need for it)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5167 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoReport invalid nicknames back to oper
brain [Fri, 8 Sep 2006 15:57:01 +0000 (15:57 +0000)]
Report invalid nicknames back to oper

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5166 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAdd failed SANICK notices
brain [Fri, 8 Sep 2006 15:53:24 +0000 (15:53 +0000)]
Add failed SANICK notices

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5165 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoOnly put out SANICK success line if the nickchange succeeds
brain [Fri, 8 Sep 2006 15:52:41 +0000 (15:52 +0000)]
Only put out SANICK success line if the nickchange succeeds

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5164 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoCorrectly put qline notices into xline snomask
brain [Fri, 8 Sep 2006 15:26:44 +0000 (15:26 +0000)]
Correctly put qline notices into xline snomask

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5163 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix 'item not on list' output
brain [Fri, 8 Sep 2006 15:02:12 +0000 (15:02 +0000)]
Fix 'item not on list' output

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5162 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoTypo in mode handler doesnt let -M be removed!
brain [Fri, 8 Sep 2006 14:30:29 +0000 (14:30 +0000)]
Typo in mode handler doesnt let -M be removed!

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5161 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAdd similar printf format fix to namesx
brain [Fri, 8 Sep 2006 14:27:39 +0000 (14:27 +0000)]
Add similar printf format fix to namesx

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5160 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoExplicitly call the std::string version of WriteServ in chanrec::UserList to prevent...
brain [Fri, 8 Sep 2006 13:37:30 +0000 (13:37 +0000)]
Explicitly call the std::string version of WriteServ in chanrec::UserList to prevent string format accidents with users who have halfop (oooops)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5159 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAllow QUIT to be used before we fully register the connection. This stops mirc from...
brain [Fri, 8 Sep 2006 13:28:17 +0000 (13:28 +0000)]
Allow QUIT to be used before we fully register the connection. This stops mirc from closing the connection thinking it has quit when inspircd has denied their QUIT command,
in theory the ghosts w00t and i saw would have timed out after 60 secs?

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5158 e03df62e-2008-0410-955e-edbf42e46eb7

17 years ago*YOINK* Add jamie's patch for parameterized usermodes in m_opermodes (thanks)
brain [Fri, 8 Sep 2006 10:20:56 +0000 (10:20 +0000)]
*YOINK* Add jamie's patch for parameterized usermodes in m_opermodes (thanks)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5157 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agouserrec::ForceNickChange was broken (not the entire nickchange system as i'd suspecte...
brain [Thu, 7 Sep 2006 20:56:10 +0000 (20:56 +0000)]
userrec::ForceNickChange was broken (not the entire nickchange system as i'd suspected at  first)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5156 e03df62e-2008-0410-955e-edbf42e46eb7

17 years ago1) Make earlier fix to inspsocket actually compile without error
brain [Thu, 7 Sep 2006 20:20:39 +0000 (20:20 +0000)]
1) Make earlier fix to inspsocket actually compile without error
2) Make sure that query string is sent back in the reply

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5155 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoDelete the file descriptor upon write error to an inspsocket, preventing it eating...
brain [Thu, 7 Sep 2006 16:56:40 +0000 (16:56 +0000)]
Delete the file descriptor upon write error to an inspsocket, preventing it eating cpu with endless read events

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5154 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix crashbug when /who'ing people who arent on a channel (chan->GetPrefixChar() when...
brain [Wed, 6 Sep 2006 22:24:39 +0000 (22:24 +0000)]
Fix crashbug when /who'ing people who arent on a channel (chan->GetPrefixChar() when chan == NULL is bad, mmk)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5153 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoForgot to return
brain [Wed, 6 Sep 2006 18:24:26 +0000 (18:24 +0000)]
Forgot to return

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5152 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFinish off the fix for bug #136 (a biggie for such a simple thing)
brain [Wed, 6 Sep 2006 18:20:02 +0000 (18:20 +0000)]
Finish off the fix for bug #136 (a biggie for such a simple thing)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5151 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAll commands now return results CMD_FAILURE or CMD_SUCCESS
brain [Wed, 6 Sep 2006 17:58:59 +0000 (17:58 +0000)]
All commands now return results CMD_FAILURE or CMD_SUCCESS

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5150 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoCommand result codes. This isnt finished yet, still got to do most of the modules...
brain [Wed, 6 Sep 2006 17:21:59 +0000 (17:21 +0000)]
Command result codes. This isnt finished yet, still got to do most of the modules, and alter CallCommandHandler

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5149 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoJOIN now has a TS parameter on it. The client protocol will ignore this when we pass...
brain [Wed, 6 Sep 2006 11:28:53 +0000 (11:28 +0000)]
JOIN now has a TS parameter on it. The client protocol will ignore this when we pass it down to the command parser, it is for use if theres a minor desync and we send a PART for the last user at the same time the other side sends a JOIN for a new user, we can at least keep the TS in step.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5148 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoDrop and log unknown nicks in FJOIN, rather than aborting the link
brain [Wed, 6 Sep 2006 11:19:06 +0000 (11:19 +0000)]
Drop and log unknown nicks in FJOIN, rather than aborting the link

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5147 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoWe were printing a command instead of exec'ing it :p
brain [Tue, 5 Sep 2006 23:34:15 +0000 (23:34 +0000)]
We were printing a command instead of exec'ing it :p

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5146 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoNew CAPAB variable (manditory): PROTOCOL
brain [Tue, 5 Sep 2006 00:43:13 +0000 (00:43 +0000)]
New CAPAB variable (manditory): PROTOCOL

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5145 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoThis is a complex one: when autoconnecting, we check each links failover, and try...
brain [Tue, 5 Sep 2006 00:19:35 +0000 (00:19 +0000)]
This is a complex one: when autoconnecting, we check each links failover, and try and FindServer it. If we find that link's failover in the network, we dont try and autoconnect it as it probably established a link to that via another route anyway.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5144 e03df62e-2008-0410-955e-edbf42e46eb7

17 years ago'Connection to %s closed' now says 'Connection to %s failed'
brain [Mon, 4 Sep 2006 23:39:26 +0000 (23:39 +0000)]
'Connection to %s closed' now says 'Connection to %s failed'

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5143 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoCheck for failover pointing at self. This is an obvious thing to check for and prevent :)
brain [Mon, 4 Sep 2006 23:29:33 +0000 (23:29 +0000)]
Check for failover pointing at self. This is an obvious thing to check for and prevent :)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5142 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agofailover connections are now added, thanks for the idea Lauren (happy now? lol) :)
brain [Mon, 4 Sep 2006 23:25:28 +0000 (23:25 +0000)]
failover connections are now added, thanks for the idea Lauren (happy now? lol) :)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5141 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoUpdate example conf with all the new stuff and more detailed comments
brain [Mon, 4 Sep 2006 03:06:00 +0000 (03:06 +0000)]
Update example conf with all the new stuff and more detailed comments

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5140 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoCall X509_free() after we're done with the cert
brain [Sun, 3 Sep 2006 23:21:49 +0000 (23:21 +0000)]
Call X509_free() after we're done with the cert

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5139 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoOutput the certificate hash to the user when they connect
brain [Sun, 3 Sep 2006 23:16:09 +0000 (23:16 +0000)]
Output the certificate hash to the user when they connect

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5138 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoRemove some gunk
brain [Sun, 3 Sep 2006 22:56:13 +0000 (22:56 +0000)]
Remove some gunk

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5137 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoDocument <oper:fingerprint>
brain [Sun, 3 Sep 2006 22:33:48 +0000 (22:33 +0000)]
Document <oper:fingerprint>

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5136 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoChanged how this module works.
brain [Sun, 3 Sep 2006 22:19:43 +0000 (22:19 +0000)]
Changed how this module works.
It now uses a password in combination with a fingerprint.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5135 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoCheck for people trying to literally put the fingerprint in as a pass
brain [Sun, 3 Sep 2006 22:05:54 +0000 (22:05 +0000)]
Check for people trying to literally put the fingerprint in as a pass

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5134 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoRemoval of debug
brain [Sun, 3 Sep 2006 22:00:48 +0000 (22:00 +0000)]
Removal of debug

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5133 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAdd comments to document this header
brain [Sun, 3 Sep 2006 21:55:20 +0000 (21:55 +0000)]
Add comments to document this header

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5132 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoDocument the two new modules
brain [Sun, 3 Sep 2006 21:47:03 +0000 (21:47 +0000)]
Document the two new modules

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5131 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoYAY! A module which allows a user to oper via their ssl key fingerprint.
brain [Sun, 3 Sep 2006 21:38:29 +0000 (21:38 +0000)]
YAY! A module which allows a user to oper via their ssl key fingerprint.
This is largely untested stuff here, be careful with it. Use /fingerprint to get the user's fingerprint (or ask them for it) and then put the fingerprint into the password field of their oper block.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5130 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoRemove a ton of debug
brain [Sun, 3 Sep 2006 20:43:33 +0000 (20:43 +0000)]
Remove a ton of debug

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5129 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAll but cert revocation is now supported by both modules
brain [Sun, 3 Sep 2006 20:42:16 +0000 (20:42 +0000)]
All but cert revocation is now supported by both modules

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5128 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoDont report that the key has expired when it hasnt
brain [Sun, 3 Sep 2006 20:25:09 +0000 (20:25 +0000)]
Dont report that the key has expired when it hasnt

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5127 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoOpenSSL gets certs and populates the ssl_cert* now!
brain [Sun, 3 Sep 2006 20:20:51 +0000 (20:20 +0000)]
OpenSSL gets certs and populates the ssl_cert* now!
(NOTE: This is not finished by a long shot, because openssl and gnutls generate slightly different format of DN - although, the fingerprint will always match if its the same user :))

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5126 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoWe now have a test module that can dump someones certificate information: /sslinfo...
brain [Sun, 3 Sep 2006 18:57:16 +0000 (18:57 +0000)]
We now have a test module that can dump someones certificate information: /sslinfo <nick>

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5125 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoCertificate stuff
brain [Sun, 3 Sep 2006 18:26:34 +0000 (18:26 +0000)]
Certificate stuff

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5124 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoObtaining of ssl cert in gnutls module and placing it into a class which is extended...
brain [Sun, 3 Sep 2006 17:29:29 +0000 (17:29 +0000)]
Obtaining of ssl cert in gnutls module and placing it into a class which is extended to the user, type ssl_cert.
In a while the openssl module will also populate this same high level class with data

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5123 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoProper error checking on loading cmd_*.so files
brain [Sun, 3 Sep 2006 00:58:09 +0000 (00:58 +0000)]
Proper error checking on loading cmd_*.so files

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5122 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoRemove the shared object pointer from the hash after each reload
brain [Sun, 3 Sep 2006 00:48:12 +0000 (00:48 +0000)]
Remove the shared object pointer from the hash after each reload

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5121 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoForgot to copy cmd_mode.so
brain [Sun, 3 Sep 2006 00:46:26 +0000 (00:46 +0000)]
Forgot to copy cmd_mode.so

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5120 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAdd /RELOAD and move cmd_mode into its own command.
brain [Sun, 3 Sep 2006 00:44:11 +0000 (00:44 +0000)]
Add /RELOAD and move cmd_mode into its own command.
/RELOAD is the only thing you cant reload (ahem)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5119 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAuto loading of commands as shared objects via dlsym (very lightweight interface...
brain [Sun, 3 Sep 2006 00:09:38 +0000 (00:09 +0000)]
Auto loading of commands as shared objects via dlsym (very lightweight interface, just expects a command_t* pointer)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5118 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agocmd_* files are now shared object. This lets make -j optimize the build process a...
brain [Sat, 2 Sep 2006 23:06:14 +0000 (23:06 +0000)]
cmd_* files are now shared object. This lets make -j optimize the build process a little better (it doesnt have to wait for the cmd_ files to finish so it can link commands.cpp against them), and it makes libIRCDcommands.so not be 20mb in size (which might hit file size limits on some shell hosters)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5117 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoGive this module VF_COMMON, as services depend on it
brain [Sat, 2 Sep 2006 20:47:03 +0000 (20:47 +0000)]
Give this module VF_COMMON, as services depend on it

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5116 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoOnly VF_COMMON modules are sent in CAPAB now, not VF_STATIC
brain [Sat, 2 Sep 2006 18:04:09 +0000 (18:04 +0000)]
Only VF_COMMON modules are sent in CAPAB now, not VF_STATIC

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5115 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoDoesnt need VF_STATIC
brain [Sat, 2 Sep 2006 18:03:02 +0000 (18:03 +0000)]
Doesnt need VF_STATIC

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5114 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoComments
brain [Sat, 2 Sep 2006 17:41:36 +0000 (17:41 +0000)]
Comments

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5113 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoActually make +ovhk removable with DelMode (just in case somebody wants to, or we...
brain [Sat, 2 Sep 2006 17:40:33 +0000 (17:40 +0000)]
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

17 years agoBecause these modes take no parameter when being removed, they need no special code...
brain [Sat, 2 Sep 2006 16:53:01 +0000 (16:53 +0000)]
Because these modes take no parameter when being removed, they need no special code for ModeHandler::RemoveMode()

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5111 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoActually let it be unloaded would be a start (remove VF_STATIC)
brain [Sat, 2 Sep 2006 16:45:40 +0000 (16:45 +0000)]
Actually let it be unloaded would be a start (remove VF_STATIC)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5110 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAllow unloading of +qa
brain [Sat, 2 Sep 2006 16:44:38 +0000 (16:44 +0000)]
Allow unloading of +qa

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5109 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAnd this (i guess it once tested mode stuff)
brain [Sat, 2 Sep 2006 16:34:45 +0000 (16:34 +0000)]
And this (i guess it once tested mode stuff)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5108 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoSo was this...
brain [Sat, 2 Sep 2006 16:34:16 +0000 (16:34 +0000)]
So was this...

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5107 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFor some reason this was VF_STATIC
brain [Sat, 2 Sep 2006 16:33:18 +0000 (16:33 +0000)]
For some reason this was VF_STATIC

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5106 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoDon't try and delete from the item list whilst iterating it - make a copy instead
brain [Sat, 2 Sep 2006 16:31:59 +0000 (16:31 +0000)]
Don't try and delete from the item list whilst iterating it - make a copy instead
All modules using u_listmode.h are now unloadable (thats 3 more down)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5105 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoDon't use oncleanup to remove listmode lists
brain [Sat, 2 Sep 2006 16:27:02 +0000 (16:27 +0000)]
Don't use oncleanup to remove listmode lists

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5104 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agobanexception, chanfilter and inviteexception should now be unloadable :)
brain [Sat, 2 Sep 2006 16:13:01 +0000 (16:13 +0000)]
banexception, chanfilter and inviteexception should now be unloadable :)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5103 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAll modules which implement simplemodes (no parameters, not a list mode) can now...
brain [Sat, 2 Sep 2006 16:02:35 +0000 (16:02 +0000)]
All modules which implement simplemodes (no parameters, not a list mode) can now be UNLOADED O_o

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5102 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAny modules which were using VF_STATIC to indicate they implement a mode should chang...
brain [Sat, 2 Sep 2006 15:51:29 +0000 (15:51 +0000)]
Any modules which were using VF_STATIC to indicate they implement a mode should change this to VF_COMMON once they have the correct unload code

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5101 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAllow unloading of modules which implement modes!
brain [Sat, 2 Sep 2006 15:50:29 +0000 (15:50 +0000)]
Allow unloading of modules which implement modes!
The default implementation of the new system will remove simplemodes so any mode handler which is just a simple mode (no params and not a list mode) does not need to add much more than one line of code and remove its VF_STATIC flag.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5100 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAdd chanrec::IsBanned() so that we dont have to keep walking the banlist in various...
brain [Sat, 2 Sep 2006 14:09:45 +0000 (14:09 +0000)]
Add chanrec::IsBanned() so that we dont have to keep walking the banlist in various modules and using match()

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5099 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoException handling in most of userrec... not too fine grained yet however
brain [Fri, 1 Sep 2006 11:11:07 +0000 (11:11 +0000)]
Exception handling in most of userrec... not too fine grained yet however

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5098 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAdd snomask f (flood)
brain [Fri, 1 Sep 2006 10:46:57 +0000 (10:46 +0000)]
Add snomask f (flood)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5097 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoMade CountChannels faster. We use it in quite a few places. It's now O(1) rather...
brain [Thu, 31 Aug 2006 22:50:56 +0000 (22:50 +0000)]
Made CountChannels faster. We use it in quite a few places. It's now O(1) rather than O(n)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5094 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoPut some client quit stuff in cmd_quit into the Qq snomasks properly
brain [Thu, 31 Aug 2006 22:27:54 +0000 (22:27 +0000)]
Put some client quit stuff in cmd_quit into the Qq snomasks properly

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5093 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoMake ban override notice only trigger when they actually match a ban :P
brain [Thu, 31 Aug 2006 22:04:54 +0000 (22:04 +0000)]
Make ban override notice only trigger when they actually match a ban :P
Alter all to use snomask O (oper override) which this module enables

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5092 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix for bug #134 reported by mixx941: When user connects to ircd with no usermodes...
brain [Thu, 31 Aug 2006 21:47:57 +0000 (21:47 +0000)]
Fix for bug #134 reported by mixx941: When user connects to ircd with no usermodes set on themselves, an m_spanningtree std::string throws a range exception because we try and substr npos.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5091 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoForwardport fix from stable (bug#133 reported by insurgent): configuring a link block...
brain [Thu, 31 Aug 2006 16:43:35 +0000 (16:43 +0000)]
Forwardport fix from stable (bug#133 reported by insurgent): configuring a link block with the same name as the local server (?!) then linking to it causes segfault

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5090 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoRemove extra/wrong qualifications, makes GCC 4.1 (at least) die
om [Thu, 31 Aug 2006 13:00:21 +0000 (13:00 +0000)]
Remove extra/wrong qualifications, makes GCC 4.1 (at least) die

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5088 e03df62e-2008-0410-955e-edbf42e46eb7

17 years ago*thwap* om for not fixing the bugs he finds :p
brain [Thu, 31 Aug 2006 11:00:35 +0000 (11:00 +0000)]
*thwap* om for not fixing the bugs he finds :p

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5087 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoIn this instance find is faster than rfind
brain [Wed, 30 Aug 2006 19:57:51 +0000 (19:57 +0000)]
In this instance find is faster than rfind

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5086 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAnd make it work here
brain [Wed, 30 Aug 2006 19:54:30 +0000 (19:54 +0000)]
And make it work here

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5085 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix for parameters which contain a colon (which is not the first char in the string)
brain [Wed, 30 Aug 2006 19:53:45 +0000 (19:53 +0000)]
Fix for parameters which  contain a colon (which is not the first char in the string)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5084 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoRemove -v argument from install (openbsd doesnt like it) - thanks wyleniauy
brain [Wed, 30 Aug 2006 11:55:15 +0000 (11:55 +0000)]
Remove -v argument from install (openbsd doesnt like it) - thanks wyleniauy

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5082 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoRemove a ton of <typeinfo>, <iostream>, <sstream> etc that we usually never use
brain [Wed, 30 Aug 2006 09:51:50 +0000 (09:51 +0000)]
Remove a ton of <typeinfo>, <iostream>, <sstream> etc that we usually never use

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5081 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoWahhhhhhhhhhhh bwahahaha. Mass commit to tidy up tons of messy include lists
brain [Wed, 30 Aug 2006 09:03:03 +0000 (09:03 +0000)]
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

17 years agoAnnnd, get the fix right.
brain [Tue, 29 Aug 2006 21:45:27 +0000 (21:45 +0000)]
Annnd, get the fix right.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5079 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix for correct display when removing snomask
brain [Tue, 29 Aug 2006 21:41:30 +0000 (21:41 +0000)]
Fix for correct display when removing snomask

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5078 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoPut servername in remote quits
brain [Tue, 29 Aug 2006 20:45:28 +0000 (20:45 +0000)]
Put servername in remote quits

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5077 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoDocument SnomaskManager
brain [Tue, 29 Aug 2006 20:28:42 +0000 (20:28 +0000)]
Document SnomaskManager

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5076 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoOnly send 008 when MODE Oper
brain [Tue, 29 Aug 2006 20:14:32 +0000 (20:14 +0000)]
Only send 008 when MODE Oper

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5075 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoClarify message
brain [Tue, 29 Aug 2006 19:57:16 +0000 (19:57 +0000)]
Clarify message

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5074 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoDon't silently drop modes that are oper only when a non-oper tries to set them -...
brain [Tue, 29 Aug 2006 19:52:02 +0000 (19:52 +0000)]
Don't silently drop modes that are oper only when a non-oper tries to set them - give a 481

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5073 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFDSFDSACFasfcas
brain [Tue, 29 Aug 2006 19:47:38 +0000 (19:47 +0000)]
FDSFDSACFasfcas

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5072 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix typos
brain [Tue, 29 Aug 2006 19:47:19 +0000 (19:47 +0000)]
Fix typos

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5071 e03df62e-2008-0410-955e-edbf42e46eb7