blob: af4680f45f1679dc1bb37f7bd7c5196da4caf892 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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) const
{
if (!this->ot)
{
// No opertype.
return false;
}
return this->ot->HasCommand(cmdstr);
}
bool NickCore::HasPriv(const std::string &privstr) const
{
if (!this->ot)
{
// No opertype.
return false;
}
return this->ot->HasPriv(privstr);
}
|