]>
jfr.im git - irc/gameservirc.git/blob - gameserv/aClient.cpp
5 aClient::aClient(char *n
)
7 cout
<< "aClient created: "
8 << (n
[0] == '\0' ? "NULL" : n
) << endl
;
14 aClient::aClient(const aClient
&right
)
16 cout
<< "aClient created from another aClient: " << right
.nick
31 cout
<< "aClient deleted: " << *this << flush
;
34 cout
<< ' ' << stats
->name
<< ' ' << stats
->password
<< endl
<< flush
;
38 cout
<< endl
<< flush
;
41 ostream
&operator<<( ostream
&out
, const aClient
&c
)
43 out
<< (c
.nick
[0] == '\0' ? "NULL" : c
.nick
);
47 void aClient::setData(const aClient
*right
)
51 strcpy(nick
, right
->nick
);
57 cout
<< "Should be setting data for " << right
->stats
->name
<< endl
;
58 stats
->setData(right
->stats
);
63 long int aClient::setFlags(long int newflags
)
69 long int aClient::addFlag(long int flag
)
75 long int aClient::remFlag(long int flag
)