Permalink
Browse files

(Correctly) fixed Add()

  • Loading branch information...
1 parent 9bf44a9 commit 7db046c0f43102a77a8520d9169fbb5a28e1e18e Ferus committed Apr 5, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Plugins/Quotes.py
View
@@ -161,7 +161,7 @@ def QuoteAdd(msg, sock, users, allowed):
'''Calls the add function to add a quote'''
try:
Text = " ".join(msg[4].split()[1:])
- sock.say(msg[3], IRCq.Add(QuoteString=q))
+ sock.say(msg[3], IRCq.Add(String=Text))
except:
sock.notice(msg[0], "I cannot add a null string.")

0 comments on commit 7db046c

Please sign in to comment.