summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorom <om@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-28 12:36:37 +0000
committerom <om@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-28 12:36:37 +0000
commit96fbde12683057deff15f444a58c217051ddb155 (patch)
tree8039b12cc63e3b4583187dea6d1621c6330f8b64
parentc4f036dd5db4fe566d0c2136c08fb16eecaaa27b (diff)
Remove unnecessary cast ;p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4575 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/message.cpp2
1 files changed, 1 insertions, 1 deletions
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<ucrec*>::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)
{