/* Find out who we are talking about here */
np=getnickbynumericstr(source);
if (np==NULL) {
- Error("channel",ERR_WARNING,"Channel join from non existent user %s",source);
+ Error("channel",ERR_WARNING,"Channel join from non existent user %s",(char *)source);
return CMD_OK;
}
/* Find out who we are talking about here */
np=getnickbynumericstr(source);
if (np==NULL) {
- Error("channel",ERR_WARNING,"Channel create from non existent user %s",source);
+ Error("channel",ERR_WARNING,"Channel create from non existent user %s",(char *)source);
return CMD_OK;
}
/* Find out who we are talking about here */
np=getnickbynumericstr(source);
if (np==NULL) {
- Error("channel",ERR_WARNING,"PART from non existent numeric %s",source);
+ Error("channel",ERR_WARNING,"PART from non existent numeric %s",(char *)source);
return CMD_OK;
}
/* Find out who we are talking about here */
if ((np=getnickbynumericstr(cargv[1]))==NULL) {
- Error("channel",ERR_DEBUG,"Non-existant numeric %s kicked from channel %s",source,cargv[0]);
+ Error("channel",ERR_DEBUG,"Non-existant numeric %s kicked from channel %s",(char *)source,cargv[0]);
return CMD_OK;
}
if (cargc>3)
timestamp=strtol(cargv[cargc-3], NULL, 10);
+ np=getnickbynumericstr((char *)source);
+
/* The following check removed because servers can set topics.. */
#if 0
- if ((np=getnickbynumericstr((char *)source))==NULL) {
+ if (np==NULL) {
/* We should check the sender exists, but we still change the topic even if it doesn't */
Error("channel",ERR_WARNING,"Topic change by non-existent user %s",(char *)source);
}