summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-10 17:07:00 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-10 17:07:00 +0000
commitb67a84a6d8fdff235e004284378b29d47ce10ab6 (patch)
tree0c31af7da371c6ebc8f1f63c1eee578ece9d01f9 /src
parente84b33e456c6cdca92340475405f746028e919ce (diff)
Templated GetExt
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4282 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_inviteexception.cpp3
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)
{