log("aClient created: %s", (n[0] == '\0' ? "NULL" : n));
#endif
strcpy(nick, n);
+
+ #ifdef P10
+ strcpy(realnick, n);
+ #endif
+
stats = NULL;
flags = 0;
}
+#ifdef P10
+aClient::aClient(char *n, char *rn)
+{
+ #ifdef DEBUGMODE
+ log("aClient created: %s", (n[0] == '\0' ? "NULL" : n));
+ #endif
+ strcpy(nick, n);
+ strcpy(realnick, rn);
+ stats = NULL;
+ flags = 0;
+}
+#endif
aClient::aClient(const aClient &right)
{
aClient::aClient()
{
aClient("");
- flags = 0;
}
aClient::~aClient()
if (right != this)
{
strcpy(nick, right->nick);
+ #ifdef P10
+ strcpy(realnick, right->realnick);
+ #endif
if (right->stats)
{
if (!stats)