diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-09-11 19:51:08 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-09-11 19:51:08 +0000 |
commit | 484cfeaa2cea2888924a50cc0716c1ebb5c187ac (patch) | |
tree | efd8ffb963caebbbf851bd0d4db5670cd0f1d528 /src | |
parent | 83562ac4df1cc830b7569ac3b1ad4a61d38b8cf9 (diff) |
kill casts, so that om <3's the code
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5219 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r-- | src/cmd_notice.cpp | 2 | ||||
-rw-r--r-- | src/cmd_privmsg.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd_notice.cpp b/src/cmd_notice.cpp index 6c0336fa5..d947c70be 100644 --- a/src/cmd_notice.cpp +++ b/src/cmd_notice.cpp @@ -85,7 +85,7 @@ CmdResult cmd_notice::Handle (const char** parameters, int pcnt, userrec *user) if (MOD_RESULT) { return CMD_FAILURE; } - parameters[1] = (char*)temp.c_str(); + parameters[1] = temp.c_str(); if (temp == "") { diff --git a/src/cmd_privmsg.cpp b/src/cmd_privmsg.cpp index 18c6900f4..aba8ae12d 100644 --- a/src/cmd_privmsg.cpp +++ b/src/cmd_privmsg.cpp @@ -86,7 +86,7 @@ CmdResult cmd_privmsg::Handle (const char** parameters, int pcnt, userrec *user) if (MOD_RESULT) { return CMD_FAILURE; } - parameters[1] = (char*)temp.c_str(); + parameters[1] = temp.c_str(); if (temp == "") { |