Index: trunk/Phergie/Plugin/UrbanDictionary.php
===================================================================
--- trunk/Phergie/Plugin/UrbanDictionary.php	(revision 59)
+++ trunk/Phergie/Plugin/UrbanDictionary.php	(revision 60)
@@ -47,5 +47,6 @@
             * length should be 510 characters according to the IRC RFC.
             */
-            $max = 445 - strlen($channel) - strlen($url);
+            $target = $this->event->getSource();
+            $max = 445 - strlen($target) - strlen($url);
             if (strlen($contents) > $max) {
                 $contents = substr($contents, 0, $max);
@@ -54,8 +55,9 @@
                     $end = $max;
                 }
-                $contents = substr($contents, 0, $end) . '...' . $url;
+                $contents = substr($contents, 0, $end) . '...';
             }
+            $contents .=  $url;
 
-            $this->doPrivmsg($this->getSource(), $contents);
+            $this->doPrivmsg($target, $contents);
         }
     }
