diff options
| author | 2006-06-29 09:29:14 +0000 | |
|---|---|---|
| committer | 2006-06-29 09:29:14 +0000 | |
| commit | 6fa94ee369726677bf8b0f4a5bde8faa7d754d92 (patch) | |
| tree | b08defb2134f6f238def59d34448f94f21219845 /src/inspircd.cpp | |
| parent | Change log() to a #define, the real symbol is now do_log(), the new macro aut... (diff) | |
| download | inspircd++-6fa94ee369726677bf8b0f4a5bde8faa7d754d92.tar.gz inspircd++-6fa94ee369726677bf8b0f4a5bde8faa7d754d92.tar.bz2 inspircd++-6fa94ee369726677bf8b0f4a5bde8faa7d754d92.zip | |
Remove hardcoded filename prefix to log message, with the new macro these are un-needed.
Remove un-needed cast, ffs guys, templates stop you needing to cast the stuff inside them... So why do you do it anyway? :<
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4082 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/inspircd.cpp')
| -rw-r--r-- | src/inspircd.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 77c2c72b3..631d4920c 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -815,12 +815,12 @@ void InspIRCd::DoOneIteration(bool process_module_sockets) if ((s) && (!s->Poll())) { - log(DEBUG,"inspircd.cpp: Socket poll returned false, close and bail"); + log(DEBUG,"Socket poll returned false, close and bail"); SE->DelFd(s->GetFd()); socket_ref[activefds[activefd]] = NULL; for (std::vector<InspSocket*>::iterator a = module_sockets.begin(); a < module_sockets.end(); a++) { - s_del = (InspSocket*)*a; + s_del = *a; if ((s_del) && (s_del->GetFd() == activefds[activefd])) { module_sockets.erase(a); |
