From b669f920eaa9fb795d0a103d724943898a0df4b2 Mon Sep 17 00:00:00 2001 From: w00t Date: Sun, 21 Oct 2007 21:43:48 +0000 Subject: Another big commit, just to please all my fans out there.. cmd_* -> Command*. Muahaha. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8290 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/cmd_who.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/cmd_who.cpp') diff --git a/src/cmd_who.cpp b/src/cmd_who.cpp index 0ebe20d10..70fe78da1 100644 --- a/src/cmd_who.cpp +++ b/src/cmd_who.cpp @@ -27,7 +27,7 @@ static char *get_first_visible_channel(User *u) return "*"; } -bool cmd_who::whomatch(User* user, const char* matchtext) +bool CommandWho::whomatch(User* user, const char* matchtext) { bool realhost = false; bool realname = false; @@ -109,10 +109,10 @@ bool cmd_who::whomatch(User* user, const char* matchtext) extern "C" DllExport Command* init_command(InspIRCd* Instance) { - return new cmd_who(Instance); + return new CommandWho(Instance); } -bool cmd_who::CanView(Channel* chan, User* user) +bool CommandWho::CanView(Channel* chan, User* user) { if (!user || !chan) return false; @@ -132,7 +132,7 @@ bool cmd_who::CanView(Channel* chan, User* user) return false; } -void cmd_who::SendWhoLine(User* user, const std::string &initial, Channel* ch, User* u, std::vector &whoresults) +void CommandWho::SendWhoLine(User* user, const std::string &initial, Channel* ch, User* u, std::vector &whoresults) { std::string lcn = get_first_visible_channel(u); Channel* chlast = ServerInstance->FindChan(lcn); @@ -165,7 +165,7 @@ void cmd_who::SendWhoLine(User* user, const std::string &initial, Channel* ch, U whoresults.push_back(wholine); } -CmdResult cmd_who::Handle (const char** parameters, int pcnt, User *user) +CmdResult CommandWho::Handle (const char** parameters, int pcnt, User *user) { /* * XXX - RFC says: -- cgit v1.2.3