From b67a84a6d8fdff235e004284378b29d47ce10ab6 Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 10 Jul 2006 17:07:00 +0000 Subject: Templated GetExt git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4282 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_inviteexception.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/modules') 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) { -- cgit v1.2.3