10967 Commits

Author SHA1 Message Date
attilamolnar
1fe23633b7 m_lockserv Don't lock/unlock when already locked/unlocked, update messages 2012-07-07 15:57:35 +02:00
attilamolnar
933fdb87ea m_lockserv Remove obsolete comments and unnecessary string clear()s 2012-07-07 15:57:35 +02:00
attilamolnar
feb937edf6 m_shun Display shun target correctly in the error message when adding a new shun and it exists 2012-07-07 15:57:35 +02:00
attilamolnar
9c5629085a m_mlock Remove unnecessary iteration 2012-07-07 15:57:35 +02:00
attilamolnar
6c2edc2c5a m_swhois Switch to OnPostOper hook instead of using OnPostCommand 2012-07-07 15:19:19 +02:00
attilamolnar
ce115e4f43 m_stripcolor Removing a character from a string while iterating it is slightly less complicated 2012-07-07 15:17:28 +02:00
attilamolnar
48c2bc4d80 m_globops Don't concatenate, the command parser does it for us as maxparams for the command is 1 2012-07-07 15:16:29 +02:00
attilamolnar
4041548262 m_inviteexception Remove useless check 2012-07-07 15:13:09 +02:00
attilamolnar
9f6ad08f77 m_inviteexception Read invitebypasskey setting once and store it instead of reading it at every invite check 2012-07-07 15:13:09 +02:00
attilamolnar
3ac4e6956d m_setname, m_chgname Disallow empty GECOS, spotted by @Robby- 2012-07-07 13:40:30 +02:00
attilamolnar
f1094b52ae m_ldapoper Say what the module actually does in the description 2012-07-07 13:21:01 +02:00
attilamolnar
d1afaa8f90 cmd_stats Remove unused preprocessor stuff (it has been living in stats.cpp for a while) 2012-07-07 13:08:44 +02:00
Shawn Smith
374a152a56 Improved the SimpleModeHandlers 2012-07-06 20:57:44 -04:00
Attila Molnar
557269cdca Merge pull request #223 from Shawn-Smith/insp20+needmoreparams
[2.0] Fix to show ERR_NEEDMOREPARAMS for USERHOST and ISON
2012-07-06 16:02:31 -07:00
Shawn Smith
b450b1a34e Fix to show ERR_NEEDMOREPARAMS for cmd_userhost and cmd_ison 2012-07-06 15:28:19 -04:00
Attila Molnar
85b9374a7a Merge pull request #217 from Shawn-Smith/insp20+antiredirect
[2.0] Backported user mode +L from 2.1
2012-07-06 11:57:35 -07:00
Attila Molnar
eadffd640b Merge pull request #248 from Shawn-Smith/insp20+descfix
[2.0] Updated some module version lines.
2012-07-06 11:43:15 -07:00
Shawn Smith
c93af7582a Updated the version lines on several modules. 2012-07-06 14:34:15 -04:00
attilamolnar
d2d88b6371 #include <stdint.h>, add header guard to extensible.h
Fixes #102 reported by @kshade
2012-07-06 20:25:21 +02:00
Shawn Smith
ff8a01ff19 Backported usermode +L from insp21. Stops forced redirection given by cmode +L 2012-07-06 13:48:01 -04:00
Attila Molnar
e57ab366e6 Merge pull request #127 from Justasic/insp20+color
[2.0] Added processing of color codes into /rules
2012-07-06 09:21:49 -07:00
Justin Crawford
c79475caa8 Added color codes to /rules, moved the parsing to ServerConfig and cleaned the code up a bit 2012-07-06 09:15:48 -07:00
Attila Molnar
def08e968b Merge pull request #242 from SaberUK/insp20-doxygen-fix
[2.0] Doxygen fixes
2012-07-05 13:03:48 -07:00
Peter Powell
808a0a0957 Fix Doxygen syntax errors. 2012-07-05 21:00:35 +01:00
Attila Molnar
2cb47dd792 Merge pull request #244 from SaberUK/insp20-configure-fix
[2.0] Configure message fix
2012-07-05 12:16:27 -07:00
Attila Molnar
13eef9a8e0 Merge pull request #243 from SaberUK/insp20-config-deprecation
Explicitly deprecate some config changes.
2012-07-05 12:15:19 -07:00
Peter Powell
464c71752f GnuTLS requires pkg-config as well. 2012-07-05 05:28:03 +01:00
Peter Powell
432a8eda44 Explicitly deprecate some config changes. 2012-07-05 01:57:40 +01:00
attilamolnar
0c6bb6f536 m_spanningtree Fix crash in SVSPART handler when the given channel doesn't exist 2012-07-04 19:42:20 +02:00
Attila Molnar
2d01e788b2 Merge pull request #241 from attilamolnar/insp20+delaymsgfix
[2.0] Fix MODE #chan +d being sent to users on a channel when a remote user joined a chan with +d on it
2012-07-04 10:32:06 -07:00
attilamolnar
c3261196c2 m_delaymsg Don't bother with remote users 2012-07-04 19:20:22 +02:00
attilamolnar
edd159566d m_delaymsg Stop sending +d mode change to users when a remote user joins a channel with +d on it 2012-07-04 19:19:55 +02:00
attilamolnar
65b0aa4d5f m_delaymsg Remove unused code 2012-07-04 19:19:40 +02:00
Peter Powell
34058529b9 Update Doxyfile for the latest Doxygen. 2012-07-04 15:04:18 +01:00
Attila Molnar
7998173bce Merge pull request #239 from alyx/insp20
Add CHANNELLEN to isupport
2012-07-04 05:46:57 -07:00
attilamolnar
baa9ba88b7 Remove leftover #ifdefs and #includes from cmd_*.cpp 2012-07-02 19:08:00 +02:00
Alyx
123845049d Add CHANNELLEN to isupport 2012-07-02 03:38:03 -05:00
Adam
bbca70439d Updated example config path in Windows NSI script 2012-07-01 19:21:41 -04:00
Robin Burchell
ae5096c335 Release 2.0.7 (we're so cool that we're skipping 2.0.6) v2.0.7 2012-07-01 22:54:27 +02:00
attilamolnar
16c80276ea m_spanningtree Call the collision handler with the proper parameter (client ip instead of modestring) when a nick collides at burst 2012-07-01 22:51:54 +02:00
attilamolnar
7f1b71e56b m_spanningtree Return when ecountering an invalid command coming from a remote server 2012-07-01 22:51:43 +02:00
attilamolnar
e6d10930d6 Fix crash in ADDLINE handler when the command had no parameters 2012-07-01 22:51:26 +02:00
Robin Burchell
972af12415 Don't throw an exception if passed bad parameters to stringjoiner.
It's far too common to "misuse" this API by accidentally trying to use
stringjoiner with an empty container, and fixing that is more or less adding
boilerplate in every place we fix it.

Instead, let's just return and not touch the string, and not throw.

Done-with: Attila Molnar <attilamolnar@hush.com>
2012-07-01 21:35:32 +02:00
attilamolnar
9475a10a86 m_xline_db Fix memory leak when adding a loaded xline fails 2012-07-01 21:16:29 +02:00
Robin Burchell
59dc6b0ec2 Revert "users: add SetClientIP function for irc::sockets::sockaddrs type."
This reverts commit f0474272303ac9297f637ce956315518138bafff.
2012-07-01 21:12:16 +02:00
Robin Burchell
433044e8fc Revert "users: LocalUser constructor should call SetClientIP() on itself"
This reverts commit dca6a7821efbfd1e6c2987dfa1d2b9f72d1db1be.
2012-07-01 21:12:06 +02:00
Robin Burchell
2c3745edb3 Revert "users: introduce OnSetClientIP hook."
This reverts commit 5fd31ec5a6ba6021763b36d8d17d4665900623ab.
2012-07-01 21:11:59 +02:00
Robin Burchell
6db09883f2 Revert "m_dnsbl: switch to OnSetClientIP hook which may be refired."
This reverts commit fbf14cb9ff28ae1b8a6c4b90a18470381afbcc53.
2012-07-01 21:11:45 +02:00
attilamolnar
f3bf40e3a1 Fix maxbans not being enforced 2012-07-01 21:07:29 +02:00
attilamolnar
a17421dca3 m_callerid, m_dccallow Use OnUserPostNick hook instead of OnUserPreNick 2012-07-01 21:07:22 +02:00