Untitled
unknown
plain_text
a year ago
689 B
10
Indexable
inserted debug code in cmd_channel(): cmd_channel():
printf(" NICK %s\n", m->nick);
u = get_user_from_member(m);
if (u) {
printf("DEBUG: found u\n");
printf("DEBUG: strlen(u->handle) = %i\n", strlen(u->handle));
}
else
printf("DEBUG: DID NOT FIND U\n");
u = get_user_from_member(m);
if (u) {
printf("DEBUG: found u\n");
printf("DEBUG: strlen(u->handle) = %i\n", strlen(u->handle));
}
else
printf("DEBUG: DID NOT FIND U\n");
then testuser joins the channel then bot is in
then on the bot .channel results in debug output:
NICK testuser
DEBUG: DID NOT FIND U
DEBUG: found uEditor is loading...
Leave a Comment