diff options
author | om <om@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-07-28 12:36:37 +0000 |
---|---|---|
committer | om <om@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-07-28 12:36:37 +0000 |
commit | 96fbde12683057deff15f444a58c217051ddb155 (patch) | |
tree | 8039b12cc63e3b4583187dea6d1621c6330f8b64 /src | |
parent | c4f036dd5db4fe566d0c2136c08fb16eecaaa27b (diff) |
Remove unnecessary cast ;p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4575 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r-- | src/message.cpp | 2 |
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) { |