Browse Source

textopsx: docs - fixed example for change_reply_status()

Daniel-Constantin Mierla 7 years ago
parent
commit
6e1e7fe306
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/modules/textopsx/doc/functions.xml

+ 2 - 2
src/modules/textopsx/doc/functions.xml

@@ -76,8 +76,8 @@ if(msg_apply_changes())
 	    <title><function>change_reply_status</function> usage</title>
 	    <programlisting>
 ...
-onreply_route {
-    if (@status == "603") {
+reply_route {
+    if (status == "603") {
         change_reply_status(404, "Not Found");
         exit;
     }