void load_help(void);\r
\r
void send_user_motd(struct Client *);\r
+void send_oper_motd(struct Client *);\r
void cache_user_motd(void);\r
\r
-struct Dictionary;
-extern struct Dictionary *help_dict_oper;
+struct Dictionary;\r
+extern struct Dictionary *help_dict_oper;\r
extern struct Dictionary *help_dict_user;\r
-#endif
-
+#endif\r
+\r
/* Apply nick override */
if(*source_p->preClient->spoofnick)
{
+ char note[NICKLEN + 10];
+
del_from_client_hash(source_p->name, source_p);
strlcpy(source_p->name, source_p->preClient->spoofnick, NICKLEN + 1);
add_to_client_hash(source_p->name, source_p);
- rb_note(source_p->localClient->F->fd, "Nick: %s", source_p->name);
+
+ rb_snprintf(note, NICKLEN + 10, "Nick: %s", source_p->name);
+ rb_note(source_p->localClient->F, note);
}
if(!valid_hostname(source_p->host))