summaryrefslogtreecommitdiff
path: root/bocelli/base.rb
diff options
context:
space:
mode:
Diffstat (limited to 'bocelli/base.rb')
-rw-r--r--bocelli/base.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/bocelli/base.rb b/bocelli/base.rb
index bea8959..e4998c1 100644
--- a/bocelli/base.rb
+++ b/bocelli/base.rb
@@ -53,7 +53,7 @@ module Bocelli
end
def process(str)
- if str =~ /\A(\S+) PRIVMSG (\S+) :?(.*)/
+ if str =~ /\A:?(\S+) PRIVMSG (\S+) :?(.*)/
metadata = {
user: $1,
channel: $2,