lil fix
[mudd.git] / mud.php
diff --git a/mud.php b/mud.php
index f3db120..0b09599 100644 (file)
--- a/mud.php
+++ b/mud.php
@@ -241,10 +241,10 @@ class mud extends model {
                 $this->yell($_GET['msg']);
                 break;
             case 'say':
-                $this->say($_GET['dest'], $_GET['msg']);
+                $this->say($_GET['msg']);
                 break;
             case 'tell':
-                $this->tell();
+                $this->tell($_GET['dest'], $_GET['msg']);
                 break;
             case 'poll':
                 $this->response($this->poll());
@@ -253,7 +253,7 @@ class mud extends model {
                 $this->update('DELETE FROM players');
                 break;
             default:
-                $this->error(400, 'Unknown command');
+                $this->error(400, 'unknown command');
         }
     }