As I update the code for my module, and run "make" without errors, copy the module to eggdrop's modules, sometimes everything goes smoothly. But sometimes the bot crashes because of a segment violation. I guess it can happen even if it works to compile the mod, but the strange thing is that after my segment violation I can start the bot again, and after that rehash it again, and the module works, and there doesn't seem to exist any problem. Strange innit? Bug or is it some subtle error in my code perhaps?
Then a smaller problem, with pub bind, if the text variable is empty, it doesn't seem to be true that (text == "") nor (text == {}) neither (text == NULL). How do I make the condition that checks if the text variable is empty?
whatever path you choose in life you get nowhere. note that you can choose a path with or without heart.
welll does anyone else have the same problem as me? how do you fix bugs, after changing the code? do you rehash, or restart perhaps? maybe im doing something wrong...? or maybe the bot just crashes because it's not supposed to handle mod changes while it's running?
whatever path you choose in life you get nowhere. note that you can choose a path with or without heart.