From b2a57b09742da6c2f2011ad41eb470139d88e14f Mon Sep 17 00:00:00 2001 From: cyberbotx Date: Sat, 25 Jul 2009 00:37:43 +0000 Subject: Changed params parameter of Command's Execute() from std::vector to std::vector, seems to have no ill effects but may require some testing to be sure. Also a few minor cleanups here and there. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2392 5417fbe8-f217-4b02-8779-1006273d7864 --- src/core/os_restart.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/core/os_restart.c') diff --git a/src/core/os_restart.c b/src/core/os_restart.c index 3ec4ab62e..8de76c1c4 100644 --- a/src/core/os_restart.c +++ b/src/core/os_restart.c @@ -22,9 +22,8 @@ class CommandOSRestart : public Command { } - CommandReturn Execute(User *u, std::vector ¶ms) + CommandReturn Execute(User *u, std::vector ¶ms) { - #ifdef SERVICES_BIN quitmsg = new char[31 + strlen(u->nick)]; if (!quitmsg) -- cgit