mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-15 21:49:02 -04:00
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:
parent
83562ac4df
commit
484cfeaa2c
@ -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 == "")
|
||||||
{
|
{
|
||||||
|
@ -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 == "")
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user