]>
jfr.im git - irc/gameservirc.git/blob - gameserv/aClient.cpp
7 aClient::aClient(char *n
)
10 log("aClient created: %s", (n
[0] == '\0' ? "NULL" : n
));
22 aClient::aClient(char *n
, char *rn
)
25 log("aClient created: %s", (n
[0] == '\0' ? "NULL" : n
));
34 aClient::aClient(const aClient
&right
)
37 log("aClient created from another aClient: %s\n", right
.nick
);
55 log("aClient deleted: %s %s %s", nick
, stats
->name
.getString(), stats
->password
.getString());
63 log("aClient deleted: %s", nick
);
70 ostream
&operator<<( ostream
&out
, const aClient
&c
)
72 out
<< (c
.nick
[0] == '\0' ? "NULL" : c
.nick
);
76 void aClient::setData(const aClient
*right
)
80 strcpy(nick
, right
->nick
);
82 strcpy(realnick
, right
->realnick
);
89 log("Should be setting data for %s", right
->stats
->name
.getString());
92 stats
->setData(right
->stats
);
97 long int aClient::setFlags(long int newflags
)
103 long int aClient::addFlag(long int flag
)
109 long int aClient::remFlag(long int flag
)