10921 Commits

Author SHA1 Message Date
attilamolnar
a459f5b0e3 m_spanningtree Specify the uuid of the remote user when sending server NOTICE/PRIVMSG to him 2012-08-08 15:04:17 +02:00
attilamolnar
1d7764cbc1 m_spanningtree Handle ? wildcard as well when processing an incoming ENCAP 2012-08-08 15:04:17 +02:00
attilamolnar
fae560cddc m_messageflood Unset +f when the module is unloaded 2012-08-08 14:12:03 +02:00
attilamolnar
21c3232b8e m_messageflood Make code more readable
Remove unnecessary checks
Use std::string::find() and ::substr() for finding the delimiter and splitting the parameter
2012-08-08 14:05:00 +02:00
attilamolnar
080d9e0d4c m_messageflood Perform at most one std::map::find() per message if we aren't kicking the user 2012-08-08 13:35:21 +02:00
attilamolnar
6e2b6aae53 Remove sprintf from the two implementations of ModeHandler::RemoveMode 2012-08-08 13:34:05 +02:00
attilamolnar
44e89aafb6 m_namesx, m_uhnames Don't convert the command name to irc::string in OnPreCommand()
The command is converted into an uppercase string in CommandParser::ProcessCommand()
2012-07-27 01:09:35 +02:00
Peter Powell
746932587a Don't hard code the branch version. 2012-07-27 00:14:43 +02:00
attilamolnar
6dbcfc3858 m_ssl_openssl Port ISUPPORT changes from m_ssl_gnutls to fix #261
Add a config option that can be used to set the value of the SSL token in ISUPPORT (77b42efc86122d3720f85bddd85a2dc80d0baff9)
Advertise only one ssl port by default in ISUPPORT (d30cdacab7100426c3773eafffd50aebf8155bba)
2012-07-27 00:08:21 +02:00
attilamolnar
2f4c812e7c Update example configs
Document m_chanhistory settings
Note that m_censor adds usermode +G as well
Add geoip /STATS G to helpop
2012-07-26 23:00:30 +02:00
Attila Molnar
6d4db6b262 Merge pull request #267 from Shawn-Smith/insp20+versionsfix
[2.0] Removed version line references to other IRCds
2012-07-26 08:54:57 -07:00
Shawn Smith
7a01a023a1 Updated version lines to be more descriptive and remove references to other IRCds 2012-07-26 11:49:45 -04:00
attilamolnar
b43e77b059 m_ssl_gnutls Allow setting the priorities to use on the ciphers, key exchange algorithms, compression methods and macs 2012-07-26 16:30:07 +02:00
attilamolnar
4b77a70856 m_hostchange No reason to prioritize after m_cloaking 2012-07-26 02:25:35 +02:00
attilamolnar
bcd91de347 m_hostchange Remove string copy 2012-07-26 02:25:35 +02:00
attilamolnar
7297c11c72 m_hostchange Store host change action as an enum value instead of a string, stop using pointers and std::map for no reason, warn about config problems 2012-07-26 02:25:34 +02:00
attilamolnar
4f3869238d m_opermotd Add support for viewing opermotd on a remote server (as advertised) 2012-07-26 02:25:34 +02:00
attilamolnar
3af1c39b22 m_uninvite Notify remote users properly 2012-07-26 02:25:33 +02:00
attilamolnar
d5792b9227 m_connflood Cleanup 2012-07-26 00:52:31 +02:00
attilamolnar
dd7aff3701 Remove negative BanCache entries only when the AddLine is successful instead of removing them before checking anything 2012-07-22 22:22:11 +02:00
attilamolnar
9b66dd6c29 Don't hardcode conf/inspircd.conf as the config file, allow the configure script to override it (configure asked for the path but the ircd used the hardcoded path regardless)
Fixes #264 reported by @ampt
2012-07-21 16:01:39 +02:00
attilamolnar
0b3a4371c5 m_namesx Handle colons in channel names properly
Fixes #258 reported by @FxChiP
2012-07-21 16:01:28 +02:00
attilamolnar
05f54a7222 m_ssl_gnutls Compile with -Wno-deprecated-declarations
Fixes #246 reported by @SeLEct-
2012-07-21 16:00:30 +02:00
attilamolnar
d30cdacab7 m_ssl_gnutls Advertise only one ssl port by default in ISUPPORT
Fixes #261 reported by @Shawn-Smith and others
2012-07-21 16:00:30 +02:00
attilamolnar
290bf076e0 m_ssl_gnutls Move common session initialization code into a function 2012-07-21 16:00:30 +02:00
attilamolnar
77b42efc86 m_ssl_gnutls Add a config option that can be used to set the value of the SSL token in ISUPPORT 2012-07-21 16:00:30 +02:00
Adam
3f5c635c38 Fixed Windows build 2012-07-17 22:10:49 -04:00
attilamolnar
0e8c46340c m_noctcp Fix /me not being allowed on +C channels
Fixes #260 reported by @JDowny
2012-07-17 05:06:54 +02:00
attilamolnar
73a4a37376 m_ssl_openssl Use the system default cipher list if no cipher list is specifed 2012-07-13 21:43:20 +02:00
Attila Molnar
74ee9af966 Merge pull request #230 from Robby-/insp20-openssl
[2.0] m_ssl_openssl: Show cipher used on connect and allow available ciphers to be customized.
2012-07-13 12:24:06 -07:00
attilamolnar
c59a768fc7 Release 2.0.8 v2.0.8 2012-07-13 17:38:01 +02:00
Attila Molnar
2ab2de1dda Merge pull request #249 from Shawn-Smith/insp20+simplemode
[2.0] Simplified the SimpleModeHandlers
2012-07-13 08:32:54 -07:00
attilamolnar
13ebac30b1 m_services_account Simplify mode handlers 2012-07-13 17:29:41 +02:00
attilamolnar
0fa8cdd7b8 Use SimpleUserModeHandler/SimpleChannelModeHandler where possible 2012-07-13 17:29:26 +02:00
attilamolnar
2a5cab9b44 Use less memory when rehashing built-in hashmaps 2012-07-13 17:27:03 +02:00
attilamolnar
414e1249e5 m_blockamsg Remove redundant null pointer and IS_LOCAL() check 2012-07-13 17:23:39 +02:00
attilamolnar
5d8b4bfa59 m_ident Fix casting User pointers to LocalUser pointers blindly 2012-07-13 17:20:39 +02:00
attilamolnar
3f11cf21b1 m_ident Close the socket and mark as done when received something instead of doing it in two places before returning 2012-07-13 17:20:39 +02:00
attilamolnar
41c26a03fa Move STATS handler back to cmd_stats so it's hotpatchable again 2012-07-13 17:18:07 +02:00
attilamolnar
2de11961b8 Revert m_xline_db Get the xlines from the core, don't maintain a seperate list (reverse-merged from commit 183b182b3d6c0c32f4d10e131a55adbf54b8be01) 2012-07-13 17:17:06 +02:00
attilamolnar
8e662f6202 Change debug message in Invitation::Find() to output expiration time as a string to avoid warnings 2012-07-13 15:27:38 +02:00
attilamolnar
f64ced2653 m_chanhistory Read the boolean config entry with getBool() 2012-07-12 20:58:14 +02:00
attilamolnar
53ab523021 m_halfop, m_chanhistory Remove redundant ModeParser::DelMode() calls, the modes are deleted automatically on unload 2012-07-12 20:57:44 +02:00
attilamolnar
fc0a4b7de9 m_chanlog Use std::multimap::equal_range for iteratation instead of ::find and then checking each key after it 2012-07-11 17:03:23 +02:00
attilamolnar
074a96c9ff Close files opened with popen() with pclose() instead of fclose() 2012-07-11 16:34:50 +02:00
attilamolnar
fa586546fa Fix allow_overlapped having the opposite effect in irc::portparser 2012-07-11 15:18:10 +02:00
attilamolnar
a8d911c021 Don't manage memory manually for the commasepstream in irc::portparser 2012-07-11 15:01:31 +02:00
attilamolnar
03a8a981f1 Use std::set instead of std::map in irc::portparser 2012-07-11 15:01:31 +02:00
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