summaryrefslogtreecommitdiff
path: root/lib/router.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/router.php')
-rw-r--r--lib/router.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/router.php b/lib/router.php
index 95ce77e5e..4b70c0150 100644
--- a/lib/router.php
+++ b/lib/router.php
@@ -154,6 +154,7 @@ class Router
array('notice' => '[0-9]+'));
$m->connect('message/new', array('action' => 'newmessage'));
+ $m->connect('message/new?to=:to', array('action' => 'newmessage'), array('to' => '[A-Za-z0-9_-]'));
$m->connect('message/:message',
array('action' => 'showmessage'),
array('message' => '[0-9]+'));