From 96fbde12683057deff15f444a58c217051ddb155 Mon Sep 17 00:00:00 2001 From: om Date: Fri, 28 Jul 2006 12:36:37 +0000 Subject: Remove unnecessary cast ;p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4575 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/message.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/message.cpp') diff --git a/src/message.cpp b/src/message.cpp index 6fef78552..c1c4faa3e 100644 --- a/src/message.cpp +++ b/src/message.cpp @@ -69,7 +69,7 @@ int common_channels(userrec *u, userrec *u2) for (std::vector::const_iterator i = u->chans.begin(); i != u->chans.end(); i++) { /* Fetch the channel from the user */ - ucrec* user_channel = (ucrec*)(*i); + ucrec* user_channel = *i; if (user_channel->channel) { -- cgit v1.2.3