diff options
| author | Wilmer van der Gaast <wilmer@gaast.net> | 2010-04-12 01:31:43 +0200 | 
|---|---|---|
| committer | Wilmer van der Gaast <wilmer@gaast.net> | 2010-04-12 01:31:43 +0200 | 
| commit | e21c0f8b276cc3ca177bcf6217eba9c634d410f7 (patch) | |
| tree | 6ded601cbaa4fbcbef6874d54d7f099211cd072d | |
| parent | aa44bddd276f047edd39fdb3eadc9b1e87f0014f (diff) | |
Always show root's greeting inside the control channel.
| -rw-r--r-- | irc.c | 8 | ||||
| -rw-r--r-- | irc_send.c | 7 | 
2 files changed, 8 insertions, 7 deletions
| @@ -639,6 +639,14 @@ int irc_check_login( irc_t *irc )  			irc->last_root_cmd = g_strdup( ROOT_CHAN ); +			irc_send_msg( irc->root, "PRIVMSG", ROOT_CHAN, +			              "Welcome to the BitlBee gateway!\n\n" +			              "If you've never used BitlBee before, please do read the help " +			              "information using the \x02help\x02 command. Lots of FAQs are " +			              "answered there.\n" +			              "If you already have an account on this server, just use the " +			              "\x02identify\x02 command to identify yourself.", NULL ); +			  			return 1;  		}  	} @@ -47,13 +47,6 @@ void irc_send_login( irc_t *irc )  	                        "CASEMAPPING=rfc1459 MAXTARGETS=1 WATCH=128 :are supported by this server",  	                        CTYPES, CMODES, MAX_NICK_LENGTH - 1 );  	irc_send_motd( irc ); -	 -	irc_usermsg( irc, "Welcome to the BitlBee gateway!\n\n" -	                  "If you've never used BitlBee before, please do read the help " -	                  "information using the \x02help\x02 command. Lots of FAQs are " -	                  "answered there.\n" -	                  "If you already have an account on this server, just use the " -	                  "\x02identify\x02 command to identify yourself." );  }  void irc_send_motd( irc_t *irc ) | 
