add unset/privilege command to relinquish any sysop privileges you might
authorminima <minima>
Fri, 6 Jul 2001 12:34:56 +0000 (12:34 +0000)
committerminima <minima>
Fri, 6 Jul 2001 12:34:56 +0000 (12:34 +0000)
have for the current session.

Changes
cmd/unset/privilege.pl [new file with mode: 0644]

diff --git a/Changes b/Changes
index bc6210005c6a268dda205586aa2d154aa6291229..7dbff5974bc9d33cd24bdf0394cb9a489ad6445e 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,5 +1,7 @@
 06Jul01=======================================================================
 1. fix talk and routing problems to mycall
+2. add unset/privilege command to relinquish any sysop privileges you might 
+have for the current session.
 05Jul01=======================================================================
 1. disconnect channels whose route node has disappeared
 29Jun01=======================================================================
diff --git a/cmd/unset/privilege.pl b/cmd/unset/privilege.pl
new file mode 100644 (file)
index 0000000..d031a4a
--- /dev/null
@@ -0,0 +1,11 @@
+#
+# unset any privileges that the user might have for THIS SESSION only
+#
+# Copyright (c) 2001 Dirk Koopman G1TLH
+#
+# $Id$
+#
+my ($self, $line) = @_;
+$self->priv(0);
+return (1, $self->msg('done'));
+