1
0
mirror of https://github.com/anope/anope.git synced 2026-07-06 20:23:14 +02:00

Shuffle shit around.

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2062 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
rburchell
2009-02-15 15:21:55 +00:00
parent f07229a9ee
commit 855847f428
3 changed files with 49 additions and 11 deletions
+34
View File
@@ -0,0 +1,34 @@
#include "services.h"
NickCore::NickCore()
{
next = prev = NULL;
display = email = greet = url = NULL;
ot = NULL;
pass[0] = '\0';
icq = flags = 0;
language = accesscount = channelcount = 0;
lastmail = 0;
}
bool NickCore::HasCommand(const std::string &cmdstr)
{
if (!this->ot)
{
// No opertype.
return false;
}
return this->ot->HasCommand(cmdstr);
}
bool NickCore::HasPriv(const std::string &privstr)
{
if (!this->ot)
{
// No opertype.
return false;
}
return this->ot->HasPriv(privstr);
}