summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2012-07-01Don't throw an exception if passed bad parameters to stringjoiner.Robin Burchell
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-01m_xline_db Fix memory leak when adding a loaded xline failsattilamolnar
2012-07-01Revert "users: add SetClientIP function for irc::sockets::sockaddrs type."Robin Burchell
This reverts commit f0474272303ac9297f637ce956315518138bafff.
2012-07-01Revert "users: LocalUser constructor should call SetClientIP() on itself"Robin Burchell
This reverts commit dca6a7821efbfd1e6c2987dfa1d2b9f72d1db1be.
2012-07-01Revert "users: introduce OnSetClientIP hook."Robin Burchell
This reverts commit 5fd31ec5a6ba6021763b36d8d17d4665900623ab.
2012-07-01Revert "m_dnsbl: switch to OnSetClientIP hook which may be refired."Robin Burchell
This reverts commit fbf14cb9ff28ae1b8a6c4b90a18470381afbcc53.
2012-07-01Fix maxbans not being enforcedattilamolnar
2012-07-01m_callerid, m_dccallow Use OnUserPostNick hook instead of OnUserPreNickattilamolnar
2012-07-01m_callerid, m_dccallow Fix crash caused by allowing unregistered users and ↵attilamolnar
SIDs to be on callerid/dccallow lists
2012-07-01m_callerid Remove unused parameterattilamolnar
2012-07-01m_callerid Use std::find() where possibleattilamolnar
2012-07-01m_callerid Remove redundant includesattilamolnar
2012-07-01m_dccallow Fix unsafe iterationattilamolnar
2012-07-01m_xline_db Get the xlines from the core, don't maintain a seperate listattilamolnar
2012-06-30m_noctcp Use SimpleChannelModeHandler, reorder checksattilamolnar
2012-06-30m_opermodes Remove unused OnRehash hook, don't touch remote opers, send mode ↵attilamolnar
changes with SendMode
2012-06-30m_delaymsg Don't allow mode to be unset when it's not setattilamolnar
2012-06-30m_nonicks Use SimpleChannelModeHandlerattilamolnar
2012-06-30m_operlevels Remove unused hookattilamolnar
2012-06-30m_alltime Add a missing space to the noticeattilamolnar
2012-06-30Remove unused channelmanagerattilamolnar
2012-06-29Fix typo in log message.Peter Powell
2012-06-27Merge pull request #235 from attilamolnar/insp20+invitefixAttila Molnar
2012-06-27Merge pull request #234 from attilamolnar/insp20+chanhistoryAttila Molnar
2012-06-27Merge pull request #233 from attilamolnar/insp20+capAttila Molnar
2012-06-27m_cap Allow clients to disable specific capabilities by prefixing them with ↵attilamolnar
a dash (-) to be compliant with the specification
2012-06-27m_cap Fix crash when a user issued a CAP CLEAR request and the CapEvent had ↵attilamolnar
an empty list of removed CAPs
2012-06-27m_cap Use an enum to specify cap event type instead of a string, assign ↵attilamolnar
CapEvent data in the constructor
2012-06-17Fix pending invites not being removed when a channel was deleted or had its ↵attilamolnar
TS lowered
2012-06-17m_chanhistory Keep history when changing parametersattilamolnar
2012-06-17m_chanhistory Don't allow durations that contain an invalid char or too longattilamolnar
2012-06-17m_chanhistory Add config setting to show/hide the informational notice ↵attilamolnar
before playing back history, don't playback to remote users
2012-06-17m_shun Fix out of bounds vector access leading to crashes when hiding part ↵attilamolnar
reason for a shunned user
2012-06-17m_shun Fix a couple of things, namelyattilamolnar
- remove OnUserConnect hook as it was completly a no-op - remove call to XLineManager::ApplyLines() as it iterates the local userlist and made no sense - return CMD_SUCCESS when /SHUN succeeded, CMD_FAILURE otherwise - remove unused exception handler - don't route SHUN commands at all, spanningtree adds and removes the lines automatically
2012-06-17m_rline Fix memory leak when zlineonmatch was true and the zline existed, ↵attilamolnar
simplify zline adding logic
2012-06-17m_svshold Fix a couple of things, namelyattilamolnar
- don't ask the XLine manager to apply SVSHOLD lines to the userlist, as we do nothing on match - remove call to XLineManager::ApplyLines() as it iterates the local userlist and made no sense - return CMD_SUCCESS when SVSHOLD succeeded, CMD_FAILURE otherwise - remove unused exception handler - don't route SVSHOLD commands at all, spanningtree adds and removes the lines automatically
2012-06-17m_cban Fix a couple of things, namelyattilamolnar
- remove call to XLineManager::ApplyLines() as it iterates the local userlist and made no sense - return CMD_SUCCESS when /CBAN succeeded, CMD_FAILURE otherwise - remove unused exception handler - don't route CBAN commands at all, spanningtree adds and removes the lines automatically
2012-06-15Merge pull request #193 from attilamolnar/insp20+newlinefixRobin Burchell
[2.0] Cut the ending \n from all lines in included (exec)files
2012-06-12m_namesx Add support for altering /WHO replies to be compliant with the ↵attilamolnar
specification
2012-06-12m_geoip Add support for /stats Gattilamolnar
m_geoip Change /stats G numeric to be 801
2012-06-12Make m_cap.h a bit clevererattilamolnar
2012-06-12New module to support IRCv3 extras, namely account-notify, away-notify and ↵attilamolnar
extended-join CAPs
2012-06-12m_services_account Send an AccountEvent with an empty accountname when a ↵attilamolnar
user logs out of an account
2012-06-12m_spanningtree Burst to a new server before introducing it to the rest of ↵attilamolnar
the network Fixes issue #103 reported by @nenolod
2012-06-12Be consistent with Robby's qQ snomask changesSir Poggles
2012-06-12m_dnsbl: switch to OnSetClientIP hook which may be refired.William Pitcock
2012-06-12users: introduce OnSetClientIP hook.William Pitcock
This hook is called whenever a client's IP is modified.
2012-06-12users: LocalUser constructor should call SetClientIP() on itselfWilliam Pitcock
This way we fire a future hook based on local IP information changing.
2012-06-12users: add SetClientIP function for irc::sockets::sockaddrs type.William Pitcock
Code which touches client_sa should instead use this SetClientIP function so that hooks may be called in the future.
2012-06-12Fix 2 clang warnings reported by @SaberUKattilamolnar