Miscellaneous typo fixes.
authorGeorg Brandl <georg@python.org>
Wed, 3 Oct 2012 20:58:35 +0000 (22:58 +0200)
committerGeorg Brandl <georg@python.org>
Wed, 3 Oct 2012 20:58:35 +0000 (22:58 +0200)
irkerd

diff --git a/irkerd b/irkerd
index b394e62bce1042cc6bfcdd6eceb2221ccc7478ac..d9e3a0d5b5f67bac55fcb1a4c0a39c3f768b6b8c 100755 (executable)
--- a/irkerd
+++ b/irkerd
@@ -382,9 +382,9 @@ class Irker:
         try:
             request = json.loads(line.strip())
             if not isinstance(request, dict):
-                self.logerr("request in tot a JSON dictionary: %r" % request)
+                self.logerr("request is not a JSON dictionary: %r" % request)
             elif "to" not in request or "privmsg" not in request:
-                self.logerr("malformed reqest - 'to' or 'privmsg' missing: %r" % request)
+                self.logerr("malformed request - 'to' or 'privmsg' missing: %r" % request)
             else:
                 channels = request['to']
                 message = request['privmsg']