#ifdef WITH_PROTOCOL_P10
struct server* GetServerN(const char *numeric);
struct userNode* GetUserN(const char *numeric);
-extern char *his_servername;
-extern char *his_servercomment;
#endif
/* Basic protocol parsing support. */
/* account maintenance */
void irc_account(struct userNode *user, const char *stamp);
void irc_regnick(struct userNode *user);
+void irc_fakehost(struct userNode *user, const char *host);
/* numeric messages */
void irc_numeric(struct userNode *user, unsigned int num, const char *format, ...);
#define MCP_ALLOW_OVB 0x0001 /* allow op, voice, ban manipulation */
#define MCP_FROM_SERVER 0x0002 /* parse as from a server */
#define MCP_KEY_FREE 0x0004 /* -k without a key argument */
+#define MCP_REGISTERED 0x0008 /* chan is already registered; do not allow changes to MODE_REGISTERED */
#define MC_ANNOUNCE 0x0100 /* send a mod_chanmode() change out */
#define MC_NOTIFY 0x0200 /* make local callbacks to announce */
#ifdef NDEBUG