diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/m_inviteexception.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/m_inviteexception.cpp b/src/modules/m_inviteexception.cpp index 5776b118b..37c5cb49d 100644 --- a/src/modules/m_inviteexception.cpp +++ b/src/modules/m_inviteexception.cpp @@ -54,7 +54,8 @@ public: { if(chan != NULL) { - modelist* list = (modelist*)chan->GetExt(ie->GetInfoKey()); + modelist* list; + chan->GetExt(ie->GetInfoKey(), modelist); Srv->Log(DEBUG, std::string(user->nick)+" is trying to join "+std::string(chan->name)+", checking for invite exceptions"); if (list) { |