# | Line 838 | Line 838 | m_notice(char *parv[], unsigned int parc | |
---|---|---|
838 | regmatch_t pmatch[5]; | |
839 | int errnum; | |
840 | const char *user[4]; | |
841 | + | const node_t *node; |
842 | ||
843 | /* Not interested in notices from users */ | |
844 | if (source_p) | |
# | Line 900 | Line 901 | m_notice(char *parv[], unsigned int parc | |
901 | regfree(preg); | |
902 | */ | |
903 | ||
904 | + | LIST_FOREACH(node, IRCItem->notices->head) |
905 | + | irc_send("NOTICE %s :%s", user[0], node->data); |
906 | + | |
907 | /* Pass this information off to scan.c */ | |
908 | scan_connect(user, msg); | |
909 |
– | Removed lines |
+ | Added lines |
< | Changed lines (old) |
> | Changed lines (new) |