10891 Commits

Author SHA1 Message Date
Adam
a1f823fdab Fix c2f7fc047c2e5bbb899c820590ce07fee593b28f 2012-10-06 18:25:58 -04:00
attilamolnar
ed21362c47 Update modules.conf.example with m_topiclock 2012-10-07 00:24:59 +02:00
attilamolnar
00ec79d1ad m_spanningtree Fix undefined behavior caused by referencing the returned buffer by std::string::c_str() when the object is temporary 2012-10-07 00:24:59 +02:00
attilamolnar
56629ceb7e New module to support server-side topic locking and server-to-server SVSTOPIC command
SVSTOPIC can either set the topic, the topic setter and the topic timestamp to the given parameters or can nuke the topic entirely on a channel (like it was never set)
It is for ulines only
2012-10-06 19:46:32 +02:00
attilamolnar
be4f9eccdf Update .gitignore 2012-10-06 14:26:22 +02:00
Attila Molnar
048ebe3ed7 Merge pull request #317 from ChrisTX/insp20+fixwinbuild
Windows: Fix broken build
2012-10-05 05:39:36 -07:00
ChrisTX
9b4a2a939b Windows: Fix broken build
Resolves a mistake made in c2f7fc047c2e5bbb899c820590ce07fee593b28f
2012-10-05 13:14:53 +02:00
attilamolnar
dbab621129 m_cban, m_rline, m_shun Broadcast these commands as some services implementations send them (even though they shouldn't) 2012-10-04 23:45:51 +02:00
Adam
73977e660f Merge pull request #314 from ChrisTX/insp20+DnsQueryConfig
Windows: Replace the old DNS server find mechanism with the proper one, the appropriate API
2012-10-04 14:12:30 -07:00
attilamolnar
1331962081 Windows: Remove modules.conf.charybdis and modules.conf.unreal with the uninstaller 2012-10-04 16:15:47 +02:00
ChrisTX
c2f7fc047c Replace hardcoded paths with configurable ones
This patchset aims to ease the packaging of InspIRCd for a system-wide installation scenario.

Changes in detail:
configure: Add the options --log-path and --data-path
m_ssl_gnutls, openssl: Change the hardcoded "conf/" to the existent CONFIG_PATH macro
m_xline_db: Make the location of xline.db configurable. It will use --data-path as default value, but this can be
changed using the configuration files.
2012-10-04 15:14:04 +02:00
ChrisTX
84b187eace Windows: Use the WinAPI for DNS server retrieval 2012-10-04 13:49:34 +02:00
Adam
6f5414e1bf Merge pull request #313 from ChrisTX/insp20+explicittemps
Windows: Replace the unused function hack with explicit instantiation
2012-10-03 23:59:56 -07:00
ChrisTX
b6fccd1052 Windows: Replace the unused function hack with explicit instantiation 2012-10-04 08:31:38 +02:00
attilamolnar
4f9cc281d5 Fix (d)host starting with ':' for some IPv6 clients 2012-10-03 20:36:20 +02:00
attilamolnar
13b7084eae Change User::SetClientIP() to be virtual 2012-10-03 20:36:20 +02:00
attilamolnar
6b14ac1562 Check if the mask is long enough before accessing it when checking extbans 2012-10-03 03:22:22 +02:00
attilamolnar
b5b17f22e9 m_services_account Fix possible recursion when checking 'U' extbans 2012-10-03 03:22:14 +02:00
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