]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - modules/core/m_message.c
Remove Server.up and Server.upid.
[irc/rqf/shadowircd.git] / modules / core / m_message.c
index b1e09a1fa72949056dfd0f579e385fe764c41b01..e6fe7ef4c7683ce78fc4d14e38808869bd1dceb9 100644 (file)
@@ -21,7 +21,7 @@
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
  *  USA
  *
- *  $Id: m_message.c 1761 2006-07-27 19:27:49Z jilles $
+ *  $Id: m_message.c 3173 2007-01-31 23:57:18Z jilles $
  */
 
 #include "stdinc.h"
@@ -76,7 +76,7 @@ struct Message notice_msgtab = {
 
 mapi_clist_av1 message_clist[] = { &privmsg_msgtab, &notice_msgtab, NULL };
 
-DECLARE_MODULE_AV1(message, modinit, moddeinit, message_clist, NULL, NULL, "$Revision: 1761 $");
+DECLARE_MODULE_AV1(message, modinit, moddeinit, message_clist, NULL, NULL, "$Revision: 3173 $");
 
 struct entity
 {
@@ -784,8 +784,8 @@ flood_attack_client(int p_or_n, struct Client *source_p, struct Client *target_p
                                sendto_realops_snomask(SNO_BOTS, L_ALL,
                                                     "Possible Flooder %s[%s@%s] on %s target: %s",
                                                     source_p->name, source_p->username,
-                                                    source_p->host,
-                                                    source_p->user->server, target_p->name);
+                                                    source_p->orighost,
+                                                    source_p->servptr->name, target_p->name);
                                target_p->localClient->flood_noticed = 1;
                                /* add a bit of penalty */
                                target_p->localClient->received_number_of_privmsgs += 2;
@@ -839,8 +839,8 @@ flood_attack_channel(int p_or_n, struct Client *source_p, struct Channel *chptr,
                                sendto_realops_snomask(SNO_BOTS, L_ALL,
                                                     "Possible Flooder %s[%s@%s] on %s target: %s",
                                                     source_p->name, source_p->username,
-                                                    source_p->host,
-                                                    source_p->user->server, chptr->chname);
+                                                    source_p->orighost,
+                                                    source_p->servptr->name, chptr->chname);
                                chptr->flood_noticed = 1;
 
                                /* Add a bit of penalty */