9839 Commits

Author SHA1 Message Date
Adam
668cbe381d Merge pull request #396 from Robby-/insp12+cmode_b-limit
[1.2] cmode_b: Correction to the maxbans conditional
2013-01-14 12:54:08 -08:00
Robby-
b72984f479 cmode_b: Correction to the maxbans conditional
It was possible to set one more ban beyond the configured limit.
2013-01-03 19:32:31 +01:00
Adam
ff02867c4f Release 1.2.10 v1.2.10 2012-12-17 06:36:45 -05:00
Adam
a82560a7bc Add myself to the Other Contributors list 2012-12-17 05:02:23 -05:00
Adam
35e30a1aa7 Fixed crash in m_silence from users giving invalid input 2012-12-17 05:00:36 -05:00
Adam
92183e79c4 Place linker flags after the module source, fixes linking extra modules on some systems 2012-11-14 01:50:57 -05:00
attilamolnar
7a58e4b875 Fix maxbans not being enforced
(cherry picked from commit f3bf40e3a1bcb863d1a76983338db6f5bbe3318e)
2012-10-04 21:49:03 -04:00
attilamolnar
c7439bd1de m_xline_db Fix memory leak when adding a loaded xline fails
(cherry picked from commit 9475a10a86c6c2e8575366f6e0c9b28b66a97698)
2012-10-04 21:48:36 -04:00
attilamolnar
e1c52d43b7 Fix crash in ADDLINE handler when the command had no parameters 2012-10-04 21:48:11 -04:00
Adam
56641d0499 Backport of relevant changes from 02859be56d43bcece02aab350e02bc95ed1bf446.
Fix undefined behavior caused by referencing the buffer returned by
std::string::c_str() when the object is temporary.
2012-10-04 21:45:59 -04:00
Adam
0566869d89 m_callerid, m_dccallow Fix crash caused by allowing unregistered users and SIDs to be on callerid/dccallow lists
(cherry picked from commit 37d7160b3a2434abcb4b39898bb86fa314fc3e5b)

Conflicts:

	src/modules/m_callerid.cpp
2012-10-04 21:20:16 -04:00
Attila Molnar
502af68d7a Merge pull request #240 from Shawn-Smith/insp12+chanlen
[1.2] Backported #239 to fix issue #229
2012-07-06 11:15:19 -07:00
Shawn Smith
45c0a5e78e Backported #239 to fix issue #229 2012-07-06 13:56:20 -04:00
attilamolnar
cbfd477917 m_shun Fix out of bounds vector access leading to crashes when hiding part reason for a shunned user
(cherry picked from commit 14b7e4c1ab7fd7d9cf71344bb08b211a0aa1ca15)
2012-06-29 00:11:10 -04:00
Attila Molnar
75b8ec02d3 Merge pull request #212 from attilamolnar/insp12+hideoperfix
[1.2] Hide opers hidden by m_hideoper in /stats P
2012-06-26 14:14:13 -07:00
Sir Poggles
26b1532c6b Fix set-but-not-used and var shadowing warnings 2012-06-12 21:59:57 -07:00
Sir Poggles
ba9366e68d Make sure LDLIBS appears after the other objects 2012-06-12 21:12:04 -07:00
attilamolnar
960f812eb1 m_hideoper Hide hidden opers in /stats P
Fixes issue #10 reported by @CuleX
2012-06-12 18:04:14 +02:00
Robin Burchell
dee200c212 Merge pull request #183 from attilamolnar/insp12+invitefix
[1.2] Fix pending invites not being removed on channel deletion
2012-06-12 05:00:31 -07:00
Robin Burchell
99d6f092e4 Merge pull request #149 from attilamolnar/insp12+spanningtreefixes
[1.2] Fix a number of issues in m_spanningtree
2012-06-12 04:55:03 -07:00
Robin Burchell
911ed5cf15 Merge pull request #189 from attilamolnar/insp12+nick0fix
[1.2] Fix /NICK 0 not working on registration
2012-06-12 04:54:27 -07:00
Sir Pogsalot
5749279c7e Merge pull request #192 from attilamolnar/insp12+chopfix
[1.2] Fix last character being chopped off in motd/rules
2012-06-12 04:43:45 -07:00
Sir Poggles
622bf2bdf7 fgets(): refer to the buffer size (no literals) 2012-06-12 18:26:43 -07:00
Sir Pogsalot
1f213185b7 Merge pull request #207 from Robby-/insp12-m_check+ipgecos
[1.2] m_check: Include IP and gecos in host/IP-mask lookup results
2012-06-12 00:42:01 -07:00
Robby-
e4c863fa9d m_check: Include IP and gecos in host/IP-mask lookup results 2012-06-12 06:35:36 +02:00
attilamolnar
6ab2ef5a95 Fix last character being chopped off in motd/rules 2012-06-08 00:12:49 +02:00
attilamolnar
68293244a6 Fix /NICK 0 not working on registration, allow changing to uid using /NICK <uid> 2012-06-07 20:55:01 +02:00
attilamolnar
273396d406 Remove pending invites from the invite list of channels when a user quits 2012-06-07 18:19:43 +02:00
attilamolnar
aff468fd2d Fix pending invites not being removed when a channel was deleted or had its TS lowered
Store pointers to channels instead of their names in User::invites
2012-06-02 20:25:10 +02:00
attilamolnar
fb3c6858a2 Deduplicate channel cleanup code, simplify User::PurgeEmptyChannels() 2012-06-02 20:02:41 +02:00
attilamolnar
6ab8f48f84 Fix remote users never getting their invites removed 2012-06-02 20:01:59 +02:00
Robin Burchell
75faa7644f Merge pull request #180 from attilamolnar/insp12+md5fix
[1.2] Backport "zero the whole MD5Context not only part of it" by gholms
2012-06-01 01:04:34 -07:00
attilamolnar
8e8022058f Remove sorcery with HandleInternal in NICK handler 2012-06-01 01:21:08 +02:00
attilamolnar
ea201d49d0 m_md5 Backport "zero the whole MD5Context not only part of it" by @gholms 2012-05-31 23:57:38 +02:00
attilamolnar
2ec16f64bb m_spanningtree Interpret ENCAPs also if they were targetted to our SID (retain old behavior)
Drop single targetted ENCAPs if target is reachable via the server who sent the command to us
2012-05-30 21:27:08 +02:00
Robin Burchell
37e5bd15b8 Merge pull request #168 from Robby-/insp12-moddesc
[1.2] Module description updates
2012-05-30 02:51:36 -07:00
Robin Burchell
9420a22cb6 Merge pull request #162 from attilamolnar/insp12+silentjoinfix
[1.2] Don't send a MODE on join when the join was silenced by a module
2012-05-30 02:42:45 -07:00
Robin Burchell
7dbcc33a51 Merge pull request #170 from attilamolnar/insp12+removechanmanager
[1.2] Remove unused channelmanager.cpp/h
2012-05-30 02:32:34 -07:00
Robby-
286711b906 Module description updates 2012-05-30 03:48:41 +02:00
attilamolnar
61aafc802d Silence the MODE too if a join was silenced by a module not just the JOIN
This leaked information when a module gave privs to the joining user in OnUserPreJoin
2012-05-29 14:10:04 +02:00
Robin Burchell
2302736844 Merge pull request #160 from attilamolnar/insp12+statszfix
[1.2] Improve bandwidth usage statistics (/STATS z)
2012-05-29 01:20:47 -07:00
attilamolnar
8c7ed81aa2 Use socketengine functions for sending and receiving data instead of plain send() and recv() so /STATS z displays correct bandwidth usage 2012-05-28 22:26:51 +02:00
attilamolnar
df34e808f4 Don't forward SVSJOIN/SVSPART at all if the destination is the same as the source 2012-05-27 20:27:47 +02:00
Robin Burchell
0a64605804 Merge pull request #128 from attilamolnar/insp12+incrementuidfix
Fix generating invalid UIDs after current_uid is 000Z99999 (next UID became 000[AAAAA)
2012-05-27 06:12:17 -07:00
Robin Burchell
9383bf66fa Merge pull request #130 from attilamolnar/insp12+modfixes
Minor improvements and fixes to several modules
2012-05-27 06:10:41 -07:00
attilamolnar
fc6e3d6087 Remove unused channelmanager 2012-05-26 18:44:16 +02:00
attilamolnar
20bd73ec68 Add testsuite tests for UID generation 2012-05-26 18:18:38 +02:00
attilamolnar
acb25f286a Don't touch the terminating NULL in IncrementUID 2012-05-26 16:17:55 +02:00
Robin Burchell
1cf9b1f61b Merge pull request #129 from attilamolnar/insp12+modestringfix
[1.2] Only return prefix modes from ModeParser::ModeString()
2012-05-23 03:20:21 -07:00
Robin Burchell
f99847f5a9 Merge pull request #138 from attilamolnar/insp12+sestatsfix
[1.2] Count the actual number of sent/received bytes in SocketEngine statistics
2012-05-23 03:17:07 -07:00