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
This commit is contained in:
brain 2006-09-11 19:51:08 +00:00
parent 83562ac4df
commit 484cfeaa2c
2 changed files with 2 additions and 2 deletions

View File

@ -85,7 +85,7 @@ CmdResult cmd_notice::Handle (const char** parameters, int pcnt, userrec *user)
if (MOD_RESULT) { if (MOD_RESULT) {
return CMD_FAILURE; return CMD_FAILURE;
} }
parameters[1] = (char*)temp.c_str(); parameters[1] = temp.c_str();
if (temp == "") if (temp == "")
{ {

View File

@ -86,7 +86,7 @@ CmdResult cmd_privmsg::Handle (const char** parameters, int pcnt, userrec *user)
if (MOD_RESULT) { if (MOD_RESULT) {
return CMD_FAILURE; return CMD_FAILURE;
} }
parameters[1] = (char*)temp.c_str(); parameters[1] = temp.c_str();
if (temp == "") if (temp == "")
{ {