Commit 42135974 authored by Nico Schallehn's avatar Nico Schallehn

/w für Privatchat hinzugefügt (zusätzlich zu /p)

parent 64a301c9
...@@ -22,7 +22,7 @@ function ChatNachricht($text, $admin, $userchange ){ ...@@ -22,7 +22,7 @@ function ChatNachricht($text, $admin, $userchange ){
if($admin != 3) $text = addslashes(htmlspecialchars($text)); if($admin != 3) $text = addslashes(htmlspecialchars($text));
$admin = addslashes(htmlspecialchars($admin)); $admin = addslashes(htmlspecialchars($admin));
$userchange = addslashes(htmlspecialchars($userchange)); $userchange = addslashes(htmlspecialchars($userchange));
if(substr(trim($text), 0, 3) == "/p ") if((substr(trim($text), 0, 3) == "/p ") OR (substr(trim($text), 0, 3) == "/w "))
{ {
$end = strpos($text, ":"); $end = strpos($text, ":");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment