X-Git-Url: https://git.donarmstrong.com/?p=infobot.git;a=blobdiff_plain;f=src%2FIRC%2FIrcHooks.pl;h=158cf548283c37c25778296d9fc232c144da61c0;hp=249667a9632abce20103e54d3fb5e7b917c4784f;hb=6dfa6a067c36ec300f3a38d40bab28cb6ed8366b;hpb=a2b57b71fb77b1011a32ba79eafed7a868532685 diff --git a/src/IRC/IrcHooks.pl b/src/IRC/IrcHooks.pl index 249667a..158cf54 100644 --- a/src/IRC/IrcHooks.pl +++ b/src/IRC/IrcHooks.pl @@ -170,12 +170,9 @@ sub on_connected { if ( scalar keys %users < 2 ) { &status( '!' x 40 ); - &status( -"!!! Ok. Now type '/msg $ident PASS ' to get master access through DCC CHAT." - ); + &status("!!! Ok. Now type '/msg $ident PASS ' to get master access through DCC CHAT."); &status( '!' x 40 ); } - # end of first time run. if ( &IsChanConf('Wingate') > 0 ) { @@ -213,12 +210,10 @@ sub on_connected { # Q, as on quakenet.org. if ( &IsParam('Q_pass') ) { &status('Authing to Q...'); - &rawout( -"PRIVMSG Q\@CServe.quakenet.org :AUTH $param{'Q_user'} $param{'Q_pass'}" - ); + &rawout("PRIVMSG Q\@CServe.quakenet.org :AUTH $param{'Q_user'} $param{'Q_pass'}"); } - &status('End of motd. Now lets join some channels...'); + &status("$ident End of motd. Now lets join some channels..."); #&joinNextChan(); }