[vhffs-dev] [1874] fix a Config::General bug about \# which are not unescaped |
[ Thread Index |
Date Index
| More vhffs.org/vhffs-dev Archives
]
Revision: 1874
Author: gradator
Date: 2011-07-01 03:21:39 +0200 (Fri, 01 Jul 2011)
Log Message:
-----------
fix a Config::General bug about \# which are not unescaped
Modified Paths:
--------------
trunk/vhffs-irc/modobot.pl
Modified: trunk/vhffs-irc/modobot.pl
===================================================================
--- trunk/vhffs-irc/modobot.pl 2011-06-10 20:11:29 UTC (rev 1873)
+++ trunk/vhffs-irc/modobot.pl 2011-07-01 01:21:39 UTC (rev 1874)
@@ -44,6 +44,7 @@
my $configirc = $vhffs->get_config->get_irc;
my $chan = $configirc->{modobot_channel};
+$chan =~ s/^\\#/#/;
my $conn=$irc->newconn(Nick => $configirc->{modobot_name},
Server => $configirc->{modobot_server},