10873 Commits

Author SHA1 Message Date
attilamolnar
655387286a cmd_commands Don't show server only commands to users 2012-07-11 00:56:10 +02:00
Adam
6735f2da27 Fixed Windows build, int32_t is already defined in stdint.h.
Add GnuTLS support for Windows.
Made NSIS script include extra DLL files if supplied and
include the conf/aliases and conf/modules example configuration files.
Added make_gnutls_cert.bat to generate GnuTLS certificates on Windows.
Fixed typo in gnutlscert.pm.
2012-07-09 01:53:07 -04:00
attilamolnar
33b908aedc m_spanningtree Add function to easily determine whether a server was introduced to the network, use it to determine when to send SQUIT 2012-07-08 16:15:57 +02:00
attilamolnar
c570f1d62b m_setname, m_chgname Unify notices and annoucements 2012-07-07 21:02:43 +02:00
Shawn Smith
61429d9c68 Added ExtBan U to match only Unregistered users
Enhancement requested in Issue #247
2012-07-07 14:04:02 -04:00
attilamolnar
8e62584e73 m_satopic Use WriteGlobalSno instead of writing the same thing with SNO->WriteToSnoMask and PI->SendSNONotice 2012-07-07 16:37:11 +02:00
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