summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
f9cfb09)
git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@1113
c11ca15a-4712-0410-83d8-
924469b57eb5
$nick = $line;
$nick =~ s/^<\;([^\/]*?)\/\#.*?>\; .*$/$1/;
$channel = $line;
$nick = $line;
$nick =~ s/^<\;([^\/]*?)\/\#.*?>\; .*$/$1/;
$channel = $line;
- $channel =~ s/^<\;[^\/]*?\/\#(.*?)>\; .*$/$1/;
+ $channel =~ s/^<\;[^\/]*?\/(\#.*?)>\; .*$/$1/;
# $nick =~ tr/[A-Z]/[a-z]/;
# <======= move this into another function when getting nick colour
# $nick =~ tr/[A-Z]/[a-z]/;
# <======= move this into another function when getting nick colour