diff options
| author | Adam <Adam@anope.org> | 2011-01-07 15:57:13 -0500 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2011-01-07 15:57:13 -0500 |
| commit | 44038491264a350a8849e1d7e8547bbdec134d74 (patch) | |
| tree | 08b3b18d0ff4a4d814e638a882916c07882e16de /src/chanserv.cpp | |
| parent | 9efebe5461fd5985190380d11fd8c3c7a5fba9d6 (diff) | |
Added db_mysql_live which allows Anope to pull data
from the four main SQL tables in realtime, which
effectively gives us "live" SQL.
Changed eventfd pipe engine to not use buffered write.
Added TryLock to threading engines.
Made blocking SQL queries in our SQL API thread-safe.
Diffstat (limited to 'src/chanserv.cpp')
| -rw-r--r-- | src/chanserv.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/chanserv.cpp b/src/chanserv.cpp index b66a36dbe..ef203c064 100644 --- a/src/chanserv.cpp +++ b/src/chanserv.cpp @@ -471,10 +471,12 @@ void cs_remove_nick(NickCore *nc) ChannelInfo *cs_findchan(const Anope::string &chan) { - registered_channel_map::const_iterator it = RegisteredChannelList.find(chan); + FOREACH_MOD(I_OnFindChan, OnFindChan(chan)); + registered_channel_map::const_iterator it = RegisteredChannelList.find(chan); if (it != RegisteredChannelList.end()) return it->second; + return NULL; } |
