]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - modules/m_names.c
monitor.{c,h} stuff for libratbox3.
[irc/rqf/shadowircd.git] / modules / m_names.c
index 8039cae2ee9abe370b889ba757396f19c7c02048..bb4b238bcefd6a297b92832fb324066c353dcae2 100644 (file)
@@ -26,7 +26,6 @@
 
 #include "stdinc.h"
 #include "sprintf_irc.h"
-#include "tools.h"
 #include "channel.h"
 #include "client.h"
 #include "common.h"
@@ -140,7 +139,7 @@ names_global(struct Client *source_p)
                chptr = ptr->data;
                channel_member_names(chptr, source_p, 0);
        }
-       cur_len = mlen = ircsprintf(buf, form_str(RPL_NAMREPLY), 
+       cur_len = mlen = rb_sprintf(buf, form_str(RPL_NAMREPLY), 
                                    me.name, source_p->name, "*", "*");
        t = buf + mlen;
 
@@ -183,7 +182,7 @@ names_global(struct Client *source_p)
                        t = buf + mlen;
                }
 
-               tlen = ircsprintf(t, "%s ", target_p->name);
+               tlen = rb_sprintf(t, "%s ", target_p->name);
                cur_len += tlen;
                t += tlen;
        }