# | Line 112 | Line 112 | iosend_default(va_list args) | |
---|---|---|
112 | static void | |
113 | send_message(struct Client *to, char *buf, int len) | |
114 | { | |
115 | < | #ifdef INVARIANTS |
116 | < | if (IsMe(to)) |
117 | < | { |
118 | < | sendto_realops_flags(UMODE_ALL, L_ALL, |
119 | < | "Trying to send message to myself!"); |
120 | < | return; |
121 | < | } |
122 | < | #endif |
115 | > | assert(!IsMe(to)) |
116 | > | assert(to != &me); |
117 | ||
118 | if (dbuf_length(&to->localClient->buf_sendq) + len > get_sendq(to)) | |
119 | { |
– | Removed lines |
+ | Added lines |
< | Changed lines (old) |
> | Changed lines (new) |