Changeset 848 for branches/ithildin-1.1/modules/ircd/send.c
- Timestamp:
- 04/30/10 01:57:25 (2 years ago)
- File:
-
- 1 edited
-
branches/ithildin-1.1/modules/ircd/send.c (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/ithildin-1.1/modules/ircd/send.c
r847 r848 734 734 return; /* nothing to do here. */ 735 735 736 va_start(vl, msg);737 736 snprintf(lmsg, 512, ":*** Notice -- %s", msg); 738 737 /* now just walk down the list of users and send the message off. */ … … 741 740 continue; 742 741 742 va_start(vl, msg); 743 743 sendto_common(clp->cli->conn, NULL, ircd.me, "NOTICE", clp->cli->nick, 744 744 lmsg, vl); 745 } 746 747 va_end(vl); 745 va_end(vl); 746 } 748 747 } 749 748 … … 757 756 return; /* nothing to do here. */ 758 757 759 va_start(vl, msg);760 758 snprintf(lmsg, 512, ":*** Notice -- %s", msg); 761 759 /* now just walk down the list of users and send the message off. */ … … 767 765 continue; 768 766 767 va_start(vl, msg); 769 768 sendto_common(clp->cli->conn, NULL, ircd.me, "NOTICE", clp->cli->nick, 770 769 lmsg, vl); 771 } 772 773 va_end(vl); 770 va_end(vl); 771 } 774 772 } 775 773 … … 787 785 return; /* nothing to do here. */ 788 786 789 va_start(vl, msg);790 791 787 snprintf(lmsg, 512, ":*** %s -- from %s: %s", type, 792 788 (cli != NULL ? cli->nick : srv->name), msg); … … 798 794 /* note that we always send from ourselves still! this isn't a 799 795 * mistake. */ 796 va_start(vl, msg); 800 797 sendto_common(clp->cli->conn, NULL, ircd.me, "NOTICE", clp->cli->nick, 801 798 lmsg, vl); 802 } 803 804 va_end(vl); 799 va_end(vl); 800 } 805 801 } 806 802
Note: See TracChangeset
for help on using the changeset viewer.
