Skip to content

Commit

Permalink
Fix #9
Browse files Browse the repository at this point in the history
  • Loading branch information
h3xstream committed Mar 11, 2021
1 parent 82c9196 commit 82c4624
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/kotlin/burp/BurpExtender.kt
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class BurpExtender : IBurpExtender, IMessageEditorTabFactory {
callbacks.registerMessageEditorTabFactory(this)
}

override fun createNewInstance(controller: IMessageEditorController, editable: Boolean): IMessageEditorTab {
override fun createNewInstance(controller: IMessageEditorController?, editable: Boolean): IMessageEditorTab {
// create a new instance of our custom decoder tab
return SSPDecoderTab(controller, editable,callbacks,helpers)
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/kotlin/burp/SSPDecoderTab.kt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import java.io.IOException
/**
* Tab component display under the Request and Response tab
*/
class SSPDecoderTab(val controller: IMessageEditorController,
class SSPDecoderTab(val controller: IMessageEditorController?,
private val editable: Boolean,
val callbacks: IBurpExtenderCallbacks,
val helpers: IExtensionHelpers) : IMessageEditorTab {
Expand Down

0 comments on commit 82c4624

Please sign in to comment.