3857 Commits

Author SHA1 Message Date
brain
63ecaa7059 When m_ident isnt loaded, dont prepend ~ to idents
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4604 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-30 19:03:58 +00:00
brain
17a296ff58 Back to 1.1.0+SVN
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4602 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-30 15:43:03 +00:00
brain
3f3fb76db3 1.1.0+PartyHats(ATP)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4599 e03df62e-2008-0410-955e-edbf42e46eb7
v1.1.0a1
2006-07-30 13:40:50 +00:00
brain
c746f9a964 REMOTE STATS! WOOO AND YAY!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4596 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-30 13:00:51 +00:00
brain
08007a721e Fix to send out modes remotely when a ban expires so that other ircds have their bans removed (they used to rely upon the expiry of the ban at the opposite end of the connection by the other end's m_timedbans, now they dont have to)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4595 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-30 11:21:51 +00:00
brain
2a81a45118 Fix more timedban stuff - possible infinite loop if ban expires after the channel has been deleted (and/or re-created under the same name)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4592 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-30 01:36:58 +00:00
brain
ba1807932b Fix for bug which can lock up ircd if someone adds a timed ban when the banlist is full
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4589 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-29 22:02:11 +00:00
brain
c0449726a4 Started UserManager class
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4586 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-29 16:14:38 +00:00
brain
0eeab51f49 Fix typo
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4585 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-29 13:50:52 +00:00
brain
194365ecfb Allow invalid nicks from remote users in NICK (we'll need this soon for UID nick collision handling)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4584 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-28 22:16:15 +00:00
brain
58a5cf7e39 Remove documentation of m_operwho from here
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4583 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-28 20:46:24 +00:00
brain
51a32f1abd Remove m_operwho, no longer required in 1.1 as standard /who can do its job
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4582 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-28 20:45:42 +00:00
brain
66ce314989 Finish off /WHO (i think it covers everything). Now has a few extra options
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4581 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-28 20:44:20 +00:00
brain
6d06ed1a9e Tidyup
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4580 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-28 17:13:38 +00:00
brain
4f22db0f87 Typical, forgot a ;
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4579 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-28 16:55:14 +00:00
brain
28cfa7d8ae Document <options:syntaxhints> and <options:nouserdns>
Change syntaxhints to seperate RPL_TEXT (prefix SYNTAX)


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4578 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-28 16:54:42 +00:00
brain
1448d13e17 Take invisible requirement out of chlist()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4577 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-28 15:45:38 +00:00
brain
f05102db9a Remove casts
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4576 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-28 15:42:00 +00:00
om
96fbde1268 Remove unnecessary cast ;p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4575 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-28 12:36:37 +00:00
brain
c4f036dd5d Beat om to the commit
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4574 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-28 12:28:55 +00:00
brain
0caead69fb Tidyup message.cpp, remove some really old craq.
Improve tidiness of new common_channels function
Add timeout value to blocking CleanAndResolve function


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4572 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-28 12:15:26 +00:00
brain
af284a476e Remove TODO, we just did it.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4571 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-28 12:01:41 +00:00
brain
83be005aa1 Fix the obligotary typos
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4570 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-28 12:01:07 +00:00
brain
95840640cb Change all references to voodoo numbers (7, 3 etc) to the new bitwise constants for user->registered
Change a lot of user->fd > -1 to use the IS_LOCAL() macro


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4569 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-28 12:00:25 +00:00
brain
9296aee7bc Change some if fd > -1 to IS_LOCAL macro
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4568 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-28 11:39:16 +00:00
brain
e2495e9748 Optimize common_channels
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4567 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-28 11:21:53 +00:00
brain
2696e5f05d Change chlist() to use a chained append
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4566 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-28 10:53:54 +00:00
brain
ea7ec0c1c1 Make the error more obvious, still has 'not enough params' on the start now
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4563 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-28 00:19:35 +00:00
brain
40581b585d Re-order stuff so that users cant get syntax for commands they dont have access to
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4562 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-28 00:17:40 +00:00
brain
dc8f5d02f7 Add support for syntax of commands in place of the text 'Not enough parameters' in numeric 461, where supported.
To support this each derived class of command_t must set the value of command_t::syntax to a non-empty string.


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4561 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-28 00:13:41 +00:00
brain
9a98d0858b Add VF_SERVICEPROVIDER
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4560 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-27 22:26:08 +00:00
brain
924326b4b8 Fix to allow +q/-q etc
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4559 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-27 22:22:24 +00:00
brain
faa007d405 Allow SAMODE and remote users to set +qa without local-user checks (bug?)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4558 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-27 22:18:38 +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
brain
da404eb415 Fix crashbug when exiting a remote client with threaded dns on (oops)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4552 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-27 11:41:20 +00:00
brain
57fd220885 * Fix Server::SendMode to actually work again.
* In the 1.1 protocol we now use FMODE for everything, rather than MODE.


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4551 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-27 11:32:59 +00:00
brain
feb7185050 commit remainder of new mode bouncing stuff for TS based modes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4550 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-27 02:33:00 +00:00
brain
f4d202cdbb Add extra method to mode handler, ModeHandler::ModeSet().
Returns a std::pair<bool,string>.
if the bool is true, the mode is set, and the second item in the pair is the parameter set on it, if any
If the bool is false, the mode is not set, and the parameter given is returned as the second item of the pair

To be used in mode bouncing, to build a safe set of bounced modes (dont ask yet)


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4549 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-26 21:54:36 +00:00
brain
deb290af0f Fix reiterpret_cast stuff that doesnt work right
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4548 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-26 20:53:08 +00:00
brain
99795271eb Adapt m_spanningtree to use irc::tokenstream instead of its own irc-line-parser (that was teh sux)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4547 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-26 20:31:27 +00:00
brain
50c3145225 Migrate towards FMODE with TS, remove the SYNCTS command idea
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4546 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-26 15:17:43 +00:00
om
94111465ff Remove numeric which makes some clients (Xchat, more?) think their nick is in use. Apparently it's not needed
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4544 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-25 15:00:49 +00:00
brain
7d8bca01e0 Exclude LUSERS lines with zero counts (NO WE WONT CHANGE THE SPELLING OF connection(s)!)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4543 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-25 11:20:53 +00:00
brain
f3abcc8bef Prevent notice loops on servermasks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4541 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-25 10:35:40 +00:00
brain
9c213ae9c6 Allow PRIVMSG and NOTICE targets of $<servermask> to the module events (this wasnt trivial and is almost a damn feature)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4539 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-25 10:30:54 +00:00
brain
0d4c597e61 Correct static build
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4537 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-25 09:34:38 +00:00
brain
ebf3d2f5ce Fix NOTICE $* to go between servers
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4536 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-25 09:22:04 +00:00