From 6a831a13ce816907bbf4b3a0a76c449a59972983 Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 9 Jul 2006 20:41:36 +0000 Subject: FEAR THE POWER OF VIM AND THE ALMIGHTY "%s/ /\t/g" git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@4249 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/cmd_privmsg.cpp | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'src/cmd_privmsg.cpp') diff --git a/src/cmd_privmsg.cpp b/src/cmd_privmsg.cpp index 9947e79cf..93f141e81 100644 --- a/src/cmd_privmsg.cpp +++ b/src/cmd_privmsg.cpp @@ -3,13 +3,13 @@ * +------------------------------------+ * * InspIRCd is copyright (C) 2002-2006 ChatSpike-Dev. - * E-mail: - * - * + * E-mail: + * + * * * Written by Craig Edwards, Craig McLure, and others. * This program is free but copyrighted software; see - * the file COPYING for details. + * the file COPYING for details. * * --------------------------------------------------- */ @@ -76,18 +76,18 @@ void cmd_privmsg::Handle (char **parameters, int pcnt, userrec *user) char* servermask = parameters[0]; servermask++; if (match(Config->ServerName,servermask)) - { + { ServerPrivmsgAll("%s",parameters[1]); - } + } return; - } - char status = 0; - if ((*parameters[0] == '@') || (*parameters[0] == '%') || (*parameters[0] == '+')) - { - status = *parameters[0]; - parameters[0]++; - } - if (parameters[0][0] == '#') + } + char status = 0; + if ((*parameters[0] == '@') || (*parameters[0] == '%') || (*parameters[0] == '+')) + { + status = *parameters[0]; + parameters[0]++; + } + if (parameters[0][0] == '#') { chan = FindChan(parameters[0]); if (chan) -- cgit v1.3.1-10-gc9f91