strange bug

From: berzerk (mud@mamma-mu.campus.luth.se)
Date: 12/04/96


here is a small command that acts really wierd:

ACMD(do_pk)
{
  one_argument(argument, buf);

  log("buf in do_pk = '%s'", buf);
}

when I use it in the game I get these results

>pk off
  Wed Dec  4 16:38:42 :: buf in do_pk = 'off'
>pk on
  Wed Dec  4 16:38:56 :: buf in do_pk = ''

Why dont I get do_pk = 'on' ??
Ive tried with other arguments but only 'on' comes out empty..

Any help is very appreciated..

/Berzerk


+-----------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   http://cspo.queensu.ca/~fletcher/Circle/list_faq.html   |
+-----------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/18/00 PST