diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-07-10 17:07:00 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-07-10 17:07:00 +0000 |
commit | b67a84a6d8fdff235e004284378b29d47ce10ab6 (patch) | |
tree | 0c31af7da371c6ebc8f1f63c1eee578ece9d01f9 | |
parent | e84b33e456c6cdca92340475405f746028e919ce (diff) |
Templated GetExt
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4282 e03df62e-2008-0410-955e-edbf42e46eb7
-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) { |