diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-07-10 16:51:19 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-07-10 16:51:19 +0000 |
commit | 9941a616cbba8ad5dec07bdf908a1d08d81e568e (patch) | |
tree | f8699db21a5e344e9d47da7aec7d8e646af3c4f2 /src/modules/m_banexception.cpp | |
parent | 91436d31a4ab6657012743285a1e635073e8966f (diff) |
If you ask me, it looks a hell of a lot tidier without forcing the cast.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4277 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_banexception.cpp')
-rw-r--r-- | src/modules/m_banexception.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/m_banexception.cpp b/src/modules/m_banexception.cpp index ba3a1b38a..ef8dc4d91 100644 --- a/src/modules/m_banexception.cpp +++ b/src/modules/m_banexception.cpp @@ -54,7 +54,8 @@ public: { if(chan != NULL) { - modelist* list = (modelist*)chan->GetExt(be->GetInfoKey()); + modelist* list; + chan->GetExt(be->GetInfoKey(), list); Srv->Log(DEBUG, std::string(user->nick)+" is trying to join "+std::string(chan->name)+", checking for ban exceptions"); if(list) |