summaryrefslogtreecommitdiff
path: root/src/cmd_privmsg.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-03-18 21:45:30 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-03-18 21:45:30 +0000
commit35de5a9acb6855f8d19a2f652b99f7d52d185078 (patch)
tree924f383196372d4d06e6abb579204ff1f5d5fad1 /src/cmd_privmsg.cpp
parent54b0eba65d820cde339efc63c56f6601ae4bb7f7 (diff)
Remove two pointless casts, and remove some space indenting (how does this keep sneaking back)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6692 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/cmd_privmsg.cpp')
-rw-r--r--src/cmd_privmsg.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd_privmsg.cpp b/src/cmd_privmsg.cpp
index d83e71662..425465109 100644
--- a/src/cmd_privmsg.cpp
+++ b/src/cmd_privmsg.cpp
@@ -44,7 +44,7 @@ CmdResult cmd_privmsg::Handle (const char** parameters, int pcnt, userrec *user)
FOREACH_RESULT(I_OnUserPreMessage,OnUserPreMessage(user,(void*)parameters[0],TYPE_SERVER,temp,0,except_list));
if (MOD_RESULT)
return CMD_FAILURE;
- parameters[1] = (char*)temp.c_str();
+ parameters[1] = temp.c_str();
// notice to server mask
const char* servermask = parameters[0] + 1;
if (match(ServerInstance->Config->ServerName,servermask))