10873 Commits

Author SHA1 Message Date
attilamolnar
c25fc2cacc m_spanningtree Fill a parameterlist in OnAddLine/OnDelLine 2012-10-03 00:30:03 +02:00
attilamolnar
62c54789a4 m_spanningtree Simplify OnMode and OnSetAway handlers 2012-10-03 00:30:03 +02:00
attilamolnar
9a1a6e85f8 m_spanningtree Remove empty RedoConfig() 2012-10-03 00:30:02 +02:00
attilamolnar
b858571125 m_spanningtree Utils: Remove unused functions 2012-10-03 00:30:02 +02:00
attilamolnar
f1b04d0ef8 m_spanningtree OPERTYPE handler: Return when finished processing instead of changing execution path with a flag 2012-10-03 00:30:01 +02:00
attilamolnar
90046d4498 m_spanningtree Remote WHOIS handler: Find target with FindNickOnly (don't accept uids, like in cmd_whois) 2012-10-03 00:30:01 +02:00
attilamolnar
b998720a5f m_spanningtree Netburst: Remove unused parameters and variables 2012-10-03 00:30:01 +02:00
attilamolnar
177dde0d84 m_spanningtree Netburst: Prefix SERVER and VERSION lines with SIDs instead of server names 2012-10-03 00:30:00 +02:00
attilamolnar
7656b66565 m_spanningtree Netburst: Remove unnecessary variables from DoBurst() 2012-10-02 23:44:22 +02:00
attilamolnar
6b929c6dbb m_spanningtree Use iterators in CAPAB handler and when generating reply to spanningtree related /stats, use std::find() in TreeServer::DelChild() 2012-10-02 23:44:21 +02:00
attilamolnar
a3313987f3 m_spanningtree Only allow uuids in SVSJOIN, METADATA and OPERQUIT 2012-10-02 23:44:15 +02:00
attilamolnar
97e8518c19 m_spanningtree Return const references from several TreeServer getter functions 2012-09-30 03:04:08 +02:00
attilamolnar
6abc0b8ca7 Make ConfigReader::GetSID() return a const reference to a string instead of a string 2012-09-30 03:04:08 +02:00
attilamolnar
02859be56d Fix more undefined behavior caused by referencing the returned buffer by std::string::c_str() when the object is temporary
See 83c7cc45daf6fb1f8c36f15297a4657e45a34e88
2012-09-30 03:04:07 +02:00
Adam
83e90c4baa Fixed issue #303 - fixed Windows build 2012-09-28 21:27:38 -04:00
attilamolnar
ca8105094c m_httpd Accept POST requests only when the value for Content-Length is greater than zero 2012-09-23 03:19:44 +02:00
attilamolnar
83c7cc45da Fix undefined behavior caused by referencing the returned buffer by std::string::c_str() when the object is temporary
Thanks to @ChrisTX for pointing this out
Fixes #257 reported by @helloall
2012-09-23 03:16:58 +02:00
Attila Molnar
cff57f7ba7 Merge pull request #308 from SaberUK/insp20-fingerprint
[2.0] Remove references to removed FINGERPRINT command.
2012-09-22 17:43:08 -07:00
Peter Powell
657636d1ea Remove references to removed FINGERPRINT command. 2012-09-22 22:26:30 +01:00
attilamolnar
ab0b3d0137 Instruct users to verify that std::regex is supported on their setup before using m_regex_stdlib 2012-09-22 16:04:45 +02:00
ChrisTX
3b63bc840f m_regex_stdlib: A regex provider for the C++11 container std::regex
For it to work you need a standards compliant implementation as for
instance Visual C++ 2010 and 2012 deliver. GCC's libstdc++ does not
implement this class yet.
2012-09-22 15:52:18 +02:00
attilamolnar
3f72ca011c m_blockamsg, m_sslinfo Don't convert the command name to irc::string in OnPreCommand()
See 44e89aafb69fb266bdf780d12a31947bfff4e330
2012-09-13 20:33:48 +02:00
attilamolnar
83fc42e9ce m_shun Convert enabled commands to uppercase so they match correctly even if they're lowercase in the config 2012-09-13 20:32:47 +02:00
Adam
e39da81824 Fixed crash in m_mysql if a module is unloaded while executing
a query and there is only one query in the queue to be executed.
2012-09-13 13:50:25 -04:00
attilamolnar
8597ba610b m_cgiirc Take actions after a successful WEBIRC in the OnCheckReady hook, stop using OnUserConnect 2012-09-13 18:51:28 +02:00
attilamolnar
aeeb6d4f8e m_cgiirc Register the "waiting" extension 2012-09-13 18:51:28 +02:00
attilamolnar
4af5388354 m_dnsbl Display <unknown> as the user's nick when annoucing the dnsbl result and the user has an empty nick 2012-09-13 18:51:28 +02:00
attilamolnar
9c06f6ec48 m_dnsbl Switch to OnUserSetIP hook 2012-09-13 18:51:28 +02:00
attilamolnar
2115bd71dc Call OnUserSetIP() whenever the IP of a local user changes, set ident,host,dhost in LocalUser constructor 2012-09-13 18:51:28 +02:00
attilamolnar
91abba488a New OnUserSetIP() hook 2012-09-13 18:51:28 +02:00
attilamolnar
1b03dfaeec m_knock Add support for sending a 710 numeric when a KNOCK succeeds, add a config option to choose between behaviors
Fixes #287 reported by @ElementalAlchemist
2012-09-13 18:12:38 +02:00
Attila Molnar
35ce47718b Merge pull request #301 from Adam-/insp20+bindrehash
Fix bug #291 - fix rehashing bind tags not changing them between servers/clients and ssl/nonssl
2012-09-13 08:32:18 -07:00
ChrisTX
867e74a2ac configreader: Replace ConfValue here with a ConfigTagList enumeration, as it isn't guaranteed that bind or link tags are unique which causes Issue #270
Original commit edited by @attilamolnar
- fixed wrong line being displayed in generated messages
- removed redundant ServerInstance->Config before ConfTags
2012-09-13 16:53:36 +02:00
attilamolnar
e67dff32ce Set errno to EINPROGRESS on Windows when the connect() call does not complete immediately, to simulate unix behavior
This makes code that checks errno to determine whether connect() has succeeded or not work properly on Windows
Fixes #298 reported by @butaman
2012-09-13 14:16:11 +02:00
attilamolnar
2ef3dffd47 Don't allow banned users to NOTICE a channel when security:restrictbannedusers is on
Fixes #297 reported by @killerrabbit
2012-09-13 01:07:02 +02:00
Adam
c4a53990f0 Fix bug #291 - fix rehashing bind tags not changing them between servers/clients and ssl/nonssl 2012-09-12 16:56:47 -04:00
Attila Molnar
3af395f6a1 Merge pull request #296 from SaberUK/insp20-namespace-pollution
[2.0] Avoid global namespace pollution.
2012-09-09 11:32:27 -07:00
Peter Powell
888228bc64 Avoid global namespace pollution. 2012-09-06 15:38:24 +01:00
attilamolnar
732e279187 m_svshold Broadcast SVSHOLD commands sent by servers without ADDLINE
Fixes #293 reported by @DrRenX
2012-09-02 03:08:43 +02:00
attilamolnar
684b44d4e6 Remove unnecessary assignment in BanCacheManager::RemoveEntries 2012-08-25 01:49:32 +02:00
attilamolnar
10fad422df Remove unnecessary cleanup in XLineManager destructor 2012-08-25 01:49:32 +02:00
attilamolnar
2879d35dcb Remove unnecessary string copy in XLineManager::InvokeStats 2012-08-25 01:49:32 +02:00
attilamolnar
cf01674e07 m_knock Don't concatenate the knock reason, the command parser does it for us 2012-08-25 00:48:02 +02:00
attilamolnar
7aacf73950 Add a config option to enable/disable the welcome notice sent to clients after successful registration
Fixes #284 reported by @hoggeh
2012-08-25 00:37:04 +02:00
attilamolnar
d6861984e8 Remove reference to m_ziplinks from modules.conf.unreal and modules.conf.charybdis
Fixes #285 reported by @hoggeh
2012-08-25 00:10:47 +02:00
ChrisTX
67dbc3131f listensocket: Fix the two aliasing warnings
m_ssl_gnutls: Fix three warnings:
1. libgcrypt will emit a warning to stdout during runtime that it has not been properly initialized
2. Resolve a warning about invalid narrowing inside a { } block. This is not valid as of C++11.
3. Resolve a warning about a wrong format specifier being used
2012-08-20 17:26:26 +02:00
attilamolnar
d43db424fe Change "allowmismatched" to "allowmismatch" in example config
Fixes issue #279 reported by @lethality
2012-08-20 16:47:24 +02:00
Attila Molnar
36171f5309 Merge pull request #278 from SaberUK/insp20-fix-windows
Fix Windows build that was broken by 9b66dd6.
2012-08-14 04:22:34 -07:00
Peter Powell
8b81ddc87a Fix Windows build that was broken by 9b66dd6. 2012-08-14 07:02:25 +01:00
Robin Burchell
388e4ff409 Merge pull request #251 from Shawn-Smith/insp20+extbanU
[2.0] Add ExtBan U to match only unregistered users
2012-08-13 01:08:35 -07:00