fix IRCu busrt causing multiple bots to be created
This commit is contained in:
parent
9e7fd9fea9
commit
a95cbc86d9
1 changed files with 3 additions and 1 deletions
4
Ircu.c
4
Ircu.c
|
@ -383,7 +383,9 @@ send_wallops (const char *who, const char *buf)
|
|||
void
|
||||
send_end_of_burst_ack(void)
|
||||
{
|
||||
init_services_bot ();
|
||||
if (!me.synced) {
|
||||
init_services_bot ();
|
||||
}
|
||||
send_end_of_burst ();
|
||||
send_cmd ("%s %s", neonumericbuf, TOK_END_OF_BURST_ACK);
|
||||
me.synced = 1;
|
||||
|
|
Reference in a new issue